Begin Quit handling to rm ot.pid.