clear cache on exit