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 #4346 from mdogan/cachemanager-close-fix-mx

CacheManager should deregister its LifecycleListener when it's closed.