Pid file quit without updating file