Server now supports thread pooling and maximum resource cap.