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

...p when client is shutdown, cache is closed and destroyed.

Fixes #4330 
testSyncListener_shouldNotHang_AfterAction is called 3x times. so it's 3 * 6 = 18s. Just for these 3 tests cases.