Cancel during folder scanning (see #10984)