Revert "server: Restore the masks from the previous get_message when a wait is satisf...