Threads waiting JCache sync listener completion events should be waken up when client is shutdown, cache is closed and destroyed.
Added an upper timeout for JCache sync listener completion latch.await() and converted it to a incremental await in a loop to be able to check if instance is active.
Merge pull request #4332 from mdogan/jcache-sync-mx

Threads waiting JCache sync listener completion events should be waken u...