How do I close a Batch?