Make daemonize wait on children