boolean getAndClearWokenUpStatus() {
    boolean ret = wakeUpCalled;
    wakeUpCalled = false;
    return ret;
  }
Return whether wakeup() was called and clear the woken up status before returning.
@return true if wakeup() was called previously.
ambry-network/src/test/java/com/github/ambry/network/SocketNetworkClientTest.java