Change close() of cachedResultSet