@VisibleForTesting
  public static long getNumSenderSharedConnections() {
    ConnectionTable ct = lastInstance.get();
    if (ct == null) {
      return 0;
    }
    return (ct.getConduit().getStats().getSendersSU());
  }
check to see if there are still any receiver threads for the given end-point
geode-core/src/main/java/org/apache/geode/internal/tcp/ConnectionTable.java