public static void unregisterAllListeners() {
    startMonitoring();
    synchronized (membershipLock) {
      clientMembershipListeners = new ArrayList<>();
    }
  }
Removes registration of all currently registered {@code ClientMembershipListener}s. and
{@code ClientMembershipListener}s.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/InternalClientMembership.java