Fixed daemonization.