@Override
    public final void release() {
        references.release();
    }
This class provides a thread-safe implementation of the {@link SharedResource} interface, and should be used for
all subclasses of {@link RequestHandler}, {@link ClientProvider} and {@link ServerProvider}. Once the reference count
of this resource reaches zero, the {@link #destroy()} method is called.

@author Simon Thoresen Hult
jdisc_core/src/main/java/com/yahoo/jdisc/AbstractResource.java