Avoid calling a process that may have already exited.