Create ChunkIterator to clean up iterating and hopefully fix a rare lockup