A "soft" reference inspired by Java's SoftReference