retry when iterator is None