Allow CacheTimeQuery to be reset by inheriting classes

Implement issue #22