Thanks Matt and Tony,
You're right, the problem was water leaking into the winding.
The leakage originated from the auto air vent which is positioned just above the pump. The water seeped through the screw opening of the motor connection cover (which was meant to be water tight, but I...