fix CachingHTTPFileSource::clearLoop

Fixes #720