Spurious wakeup when waiting for a response is now handled properly

Fixing one root cause of OperationTimeoutException. 
I was trying to write a unit test, but unfortunately BasicInvocationFuture is extremely hard to test in isolation. 

Credits for the fix go to Mehmet as he figured out what was going on!