for (Iterator i = resultSets.values().iterator(); i.hasNext();) {
for (Iterator i = resultSets.valueIterator(); i.hasNext();) {
		private void checkResultSets() {			for (Iterator i = resultSets.values().iterator(); i.hasNext();) {				final QueryResult qr = (QueryResult) i.next();				long ts = ((QueryResult) qr).timestamp;				if (System.currentTimeMillis() - ts > TIMEOUT) {					LOG.debug("releasing result set " + qr.hashCode());					i.remove();				}			}		}