RavenDB-3048: Wait-for-indexing was not waiting in-between batches, only at the end of the importing process.