@Override
    public void close() {
      iterator.close();
      nextEntry.setIndexEntry(null);
    }
do not retain a reference to the returned object.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/MapIndexStore.java