code: public void cancelScheduledTask(TimerTask task) {
  		TaskEngine.TimerTaskWrapper taskWrapper = wrappedTasks.remove(task);
  		if (taskWrapper != null) {
  			taskWrapper.cancel();
  		}
  	}
docs: Cancels the execution of a scheduled task.
  {@link java.util.TimerTask#cancel()}
  
  @param task
  the scheduled task to cancel.