slightly clearer code flow in daemonize's process group management