Simpler way to wait for all caches