Check CacheService registration before collecting stats
Merge pull request #3655 from emrahkocaman/master

Check CacheService registration before collecting stats