closed result sets to preserve memory