Cancel any running tasks on disable.