Ensure we really flush mid-batch if necessary