Added waiting writes in after each batch