Add option to use soft references in chunk snapshot cache