Add soft ref support in chunk snapshot cache