Manually daemonize a process.