public void interrupt(){
  Thread t=m_threadVar.get();
  if (t != null) {
    t.interrupt();
  }
  m_threadVar.clear();
}

public void interrupt ( ) { Thread t = m_threadVar . get ( ) ; if ( t != null ) { t . interrupt ( ) ; } m_threadVar . clear ( ) ; }
a new method that interrupts the worker thread . call this method to force the worker to stop what it ' s doing .
