In --foreground case, the DaemonRunner instance is now not created.