sync around iterators as well