rearrange lines of code
rpc server thread pool