code: public void shutdown() {
  		if (executor != null) {
  			executor.shutdown();
  			executor = null;
  		}
  
  		if (timer != null) {
  			timer.cancel();
  			timer = null;
  		}
  
  		instance = null;
  	}
docs: Shuts down the task engine service.