remove PID on exit