Prepare to daemonized.