Fix race in WithWaitForLeave that flaked TestPartialStateJoin/Outgoing_device_list_updates
#878
+24
β13