let sched_cancel operate on both task id and group id