Close cache for local mode