private boolean shouldInhibitMembershipWarnings() {
    if (isCloseInProgress()) {
      return true;
    }
    InternalDistributedSystem ds = getSystem();
    return ds != null && ds.isDisconnecting();
  }
Adds a <code>MembershipListener</code> to this distribution manager.
geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterDistributionManager.java