code: public void interrupt() {
          Thread t = threadVar.get();
          if (t != null) {
              t.interrupt();
          }
          threadVar.clear();
      }
docs: A new method that interrupts the worker thread. Call this method to force
  the worker to stop what it's doing.