Fixed an issue where launchd could terminate the job if the parent process finished before the detached children.