private void runDisconnectForReconnect(final DisconnectListener dc,ThreadGroup tg){
  try {
    dc.onDisconnect(InternalDistributedSystem.this);
  }
 catch (  DistributedSystemDisconnectedException e) {
    if (logger.isDebugEnabled()) {
      logger.debug("Disconnect listener <{}> thwarted by shutdown: {}",dc,e,logger.isTraceEnabled() ? e : null);
    }
  }
}

private void runDisconnectForReconnect ( final DisconnectListener dc , ThreadGroup tg ) { try { dc . onDisconnect ( InternalDistributedSystem . this ) ; } catch ( DistributedSystemDisconnectedException e ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Disconnect listener <{}> thwarted by shutdown: {}" , dc , e , logger . isTraceEnabled ( ) ? e : null ) ; } } }
run a disconnect listener in the same thread sequence as the reconnect .
