Fix race in WithWaitForLeave that flaked TestPartialStateJoin/Outgoing_device_list_updates#878
Merged
Merged
WithWaitForLeave that flaked TestPartialStateJoin/Outgoing_device_list_updates#878