Make CachingHttpChecker thread-safe