Add Cancel() function to cancel something