I put the check in `deletePid()` before `os.Remove` happens, since that's what we're actually worried about. Does that seem ok?