Allow leavecommand to run on closed rooms (allow closing the tab of closed rooms)