Reset the batch at the end of cursor