@Override protected void doStop() throws Exception {
  _scanner.removeListener(_scannerListener);
  _scanner.stop();
}

@ Override protected void doStop ( ) throws Exception { _scanner . removeListener ( _scannerListener ) ; _scanner . stop ( ) ; }
stop the hot deployer .
