Why can't I close the batch?