Purge caches on context destruction