[server][ArmBase] Avoid a wasted loop.

In the previous code, hasExitRequest() may return false even if
sleepInterruptible() is returned by the post(). As a result,
one more unwanted loop has to be executed.