I am trying to check a list of 360,000 image urls and count valid images. The iteration below works fine if the range is 1000 items, but if I raise it to 5000 or more, it\'s gon