Reimplemented WaitForServer in terms of threading.Condition.