Fixed small bug in ThreadPool manager and updated parameters in MsgServer.