Use Scheduler and helper for consecutive action on different threads
fix #4503: cache with repeated images may corrupt the on-disk copy