Yep, I see the problem. When the private room close, it pass just the owner username to the SO, so all users close the room with it. It's neccesary to pass also the other name , so if it match yours, you don't close it inside the client_so.onDisconnect handler on Main timeline. I'll recheck this bug as far as I have some time, thanks for pointing it.
Jorge