Trying to figure out how to cancel the task