added clear cache on stop for #418