Remove unused cancel method.
Fix cancel all (see #10967)
Fix cancellation of folder.