Complete the daemon mode.