Fix GC performance bug with large result sets

• Nullify statements' result batches when the statement is closed