Remove users from the room when their socket is closed.