@Override
  protected void after() {
    V value = get();
    if (value == null) {
      return;
    }
    reference.set(null);

    if (autoClose.get()) {
      autoClose(value);
    }
  }
Sets to the given value.

@param newValue the new value
@return a reference to this CloseableReference
geode-junit/src/main/java/org/apache/geode/test/junit/rules/CloseableReference.java