How can I cancel a current running task?