Added garbage collector to cache