@Override
    public Registration register(final Registration registration) {
        LOGGER.debug("Registering class [{}] with Kryo using id [{}]", registration.getType().getName(), registration.getId());
        return super.register(registration);
    }
This is {@link CloseableKryo} which allows {@link Kryo} instances
to be used with try-resource blocks.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-memcached-core/src/main/java/org/apereo/cas/memcached/kryo/CloseableKryo.java