batched all iterator into groups of 1000 for Mongoid collections to avoid cursor timeout