added prunning function for snapshot cache
done with the read_triggered GC mechanism