protected synchronized void close(){
  closeInstance();
  if (timer != null) {
    timer.cancel();
  }
  timer=null;
}

protected synchronized void close ( ) { closeInstance ( ) ; if ( timer != null ) { timer . cancel ( ) ; } timer = null ; }
shut down this instance
