mistake fix. in cancel_task()

type-in error.