Cancel task upon disable