Not needed, should check instead that the cache is empty.