replaced with a better wait/notify (latch)
Merge branch 'maintenance-3.x' of github.com:hazelcast/hazelcast into maintenance-3.x