XD-1899: IllegalStateException on single node shutdown

When the application context is shut down, the cache
will also be shut down (similar to DeploymentSupervisor).