stop infinite load after all images are loaded