server: Reset events on the message queue fd to avoid busy looping when the thread is suspended.
diff --git a/server/queue.c b/server/queue.c
index bc0aea7..e603b16 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -872,6 +872,7 @@
     assert( queue->obj.ops == &msg_queue_ops );
 
     if (event & (POLLERR | POLLHUP)) set_fd_events( fd, -1 );
+    else set_fd_events( queue->fd, 0 );
     wake_up( &queue->obj, 0 );
 }