stat: made PID controller safe for parallel update