added a function to clean OpenTSDB caches