Correctly reset roomid on close to make reconnect work properly again.