Cancel a running background delegated task by `task_id`.
