close iterators