Self-switching thermal motor monitoring

If the motor gets too hot, the pump switches off. When the motor has cooled down, the pump restarts automatically.