Alexandre Julliard : server: Restart at the head of the wait queue when we woke a thread, since this can modify the queue.