release QueryResultBatch