public void stop(){
  _execService.shutdown();
  try {
    _execService.awaitTermination(120,TimeUnit.SECONDS);
  }
 catch (  Exception e) {
    _logger.error("TimeOut occured after waiting Client Threads to finish");
  }
}

public void stop ( ) { _execService . shutdown ( ) ; try { _execService . awaitTermination ( 120 , TimeUnit . SECONDS ) ; } catch ( Exception e ) { _logger . error ( "TimeOut occured after waiting Client Threads to finish" ) ; } }
stopping disocveryconsumer , would close the execservice .
