Finish applyBatch()