int getRefCount() {
        return ref.get();
    }
<p>Returns the current reference count of this target. If this ever
returns 0 it means the underlying connection is closed and invalid.</p>

@return The number of references in use.
messagebus/src/main/java/com/yahoo/messagebus/network/rpc/RPCTarget.java