public void shutDown() throws InterruptedException {
  wexec.awaitTermination(timeout,TimeUnit.MILLISECONDS);
}

public void shutDown ( ) throws InterruptedException { wexec . awaitTermination ( timeout , TimeUnit . MILLISECONDS ) ; }
shuts down the executorservice for the set timeout in ms .
