This is caused by a race between the test stopping the server (and therefore stopping the main loop) and the main loop dispatching the observation queued by SessionMediatorObserverMultiplexer (i.e. session_disconnect_called).
This is caused by a race between the test stopping the server (and therefore stopping the main loop) and the main loop dispatching the observation queued by SessionMediator ObserverMultipl exer (i.e. session_ disconnect_ called) .