Remove useless loop on cache cleanup