@Override
        public void release(Thing value) {
          try {
            Closeables.close(value, true);
          } catch (IOException ioe) {
            // this should not happen
            Assert.fail();
          }
        }
A subclass of Thing that throws an exception on close
fbcore/src/test/java/com/facebook/common/references/SharedReferenceTest.java