pid: drop to zero integral part of the PID controller, details are in comments