Finishing up batched writes.