Remove PID and lock file on process stop