removes contexts from cache