@Override public void stop(){
  schedExecutor.shutdownNow();
  try {
    schedExecutor.awaitTermination(5,TimeUnit.SECONDS);
  }
 catch (  InterruptedException e) {
    LOG.warn("Clean up registration thread was interrupted.",e);
  }
}

@ Override public void stop ( ) { schedExecutor . shutdownNow ( ) ; try { schedExecutor . awaitTermination ( 5 , TimeUnit . SECONDS ) ; } catch ( InterruptedException e ) { LOG . warn ( "Clean up registration thread was interrupted." , e ) ; } }
stop the underlying cleanup of the registrations .
