make the cache use a SoftReference