def METHOD_NAME(self):
    """the server thread exits even if an exception exits the context manager"""
    server = Server.basic_response_server()
    with pytest.raises(Exception):
        with server:
            raise Exception()
    assert len(server.handler_results) == 0
    # if the server thread fails to finish, the test suite will hang
    # and get killed by the jenkins timeout.