public void removeDisconnectListener(DisconnectListener listener) {
    synchronized (disconnectListeners) {
      disconnectListeners.remove(listener);
    }
  }
Removes a <code>DisconnectListener</code> from the list of listeners that will be notified when
this connection to the distributed system is disconnected.
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java