code: public synchronized void setQuietly(T t) {
          if ((ref != null) && (ref.get() == t)) return;  // If we've been told to set to the object we are already tracking, this is a no-op.
          this.unsetQuietly();
          ref = SharedReference.create(t, (Closeable)t);
      }
docs: Like set(), but quietly closes any previous reference.
  
  @param t the value to set the atomic reference to.