Only daemonize right before running loop.