moved cacheInterval from global into threaded def. existence not captured as global for some reason..