Pause resizing new images if limit of files processed is reached. Solves the issue of running out of memory on Chrome