how old is the ESC?
Is there any dirt/grime in the on/off switch? I've had some switches go bad over time, especially flip style switches when dirt/dust accumulate in there. After replacing the switch, my intermittent problems of the ESC momentarily shutting off would go away.