Update thread count of server.