Fix file load cancellation