pidlockfile now handles locks of processes that did not clean up before they exit