Self-switching thermal motor monitoring

If the motor becomes too hot, the pump is deactivated. After the motor has cooled down, the pump is automatically switched on again.