Only run socket.io in daemon.