Threaded server.