Menu will also pop up on the client that you did not disconnect with. This is because the server_connected and server_disconnected signals are emitted for every other peer, but the code in main.gd of the example appears to assume that it is being called for whenever the client itself connects/disconnects to the server. Here's an example console output with some additional prints.