public void stop() throws InterruptedException {
  if (finished)   return;
  cancelled=true;
  try {
    thd.interrupt();
    thd.join(10000);
    thd=null;
  }
 catch (  InterruptedException e) {
    logger.warn("Connector handler stop operation was interrupted");
    if (thd != null)     thd.join();
  }
}

public void stop ( ) throws InterruptedException { if ( finished ) return ; cancelled = true ; try { thd . interrupt ( ) ; thd . join ( 10000 ) ; thd = null ; } catch ( InterruptedException e ) { logger . warn ( "Connector handler stop operation was interrupted" ) ; if ( thd != null ) thd . join ( ) ; } }
stop the thread which is serving changes to requesting slaves .
