avoid concurrentmodificationexception
Merge pull request #270 from fourk/fix_concurrency_with_batch_reads

avoid concurrentmodificationexception