protected synchronized void submitTask(Runnable task){
  if (!cancel) {
    workUnits++;
    service.submit(task,"");
  }
}

protected synchronized void submitTask ( Runnable task ) { if ( ! cancel ) { workUnits ++ ; service . submit ( task , "" ) ; } }
submits a new runnable to thread pool .
