If the pump was on and pumping nothing then the temperature switch would trip because of heat and shut off the pump. This is to prevent the pump from overheating if it were in a run dry for too long.