CacheManager should deregister its LifecycleListener when it's closed. (Replaced checkIfNotNull() method with ValidationUtil.checkNotNull() to conform checkstyle max-method-count rule.)
Merge pull request #4345 from mdogan/cachemanager-close-fix-3.4

CacheManager should deregister its LifecycleListener when it's closed.