Fixed a bug in room disconnection