implemented cache shutdown and categories reload