Spurious wakeup when waiting for a response is now handled properly.
Backport of https://github.com/hazelcast/hazelcast/pull/3207
(cherry picked from commit b3c85cc)
Merge pull request #3225 from jerrinot/3.2.5-spurious

Spurious wakeup when waiting for a response is now handled properly.