Run the server in threaded mode.