Like Superkarter & brownpants said, you're ESC might be over heating. Try this:
Replace all the bettery and motor wires to lower gauge. If the stock gauge is 18, then replace it with 14. This way the thicker wires will help absorb heat coming from to the ESC. Also try installing a capacitor and heat sink on your ESC.
Your ESC should work better after that procedure.