Fixed MockServer connection crash.