Add a Clear() method to empty the batch queue