Moving the try up in the methods. As I learn more about MockWebServer this code may be refactored