Endpoint getEndpoint(EndpointManager endpointManager,
      ServerLocationExtension serverLocationExtension) {
    ServerLocationAndMemberId serverLocationAndMemberId =
        serverLocationExtension.getServerLocationAndMemberId();
    return endpointManager.getEndpointMap().get(serverLocationAndMemberId);
  }
Test hook to simulate a client crashing. If true, we will not notify the server when we close
the connection.
geode-core/src/main/java/org/apache/geode/cache/client/internal/ConnectionImpl.java