Final implemntation of the async server.