private synchronized void disconnect(){
  disconnectQuietly();
  notifyConnectionListenerOnDisconnection();
}

private synchronized void disconnect ( ) { disconnectQuietly ( ) ; notifyConnectionListenerOnDisconnection ( ) ; }
disconnects and notifies listeners of disconnection .
