HTTPCLIENT-1299: (regression) cache incorrectly disposes of the underlying cache resource when storing variant entry (follow-up) Contributed by James Leigh <james at 3roundstones.com>