route server with threadpool