Expand iterators before passing to execute_with_retry.
Expand iterators before passing to execute_with_retry.

If we have to retry, we can't re-use the iterator as it's been
exhausted.

guilherme-pg/citationhunt,eggpi/citationhunt,eggpi/citationhunt,guilherme-pg/citationhunt,eggpi/citationhunt,eggpi/citationhunt,guilherme-pg/citationhunt,guilherme-pg/citationhunt