Bug in PID detection during stop