When creating a new room as a nonregistered user, you create a temporary room. Temporary rooms expire and automatically close after two hours of inactivity. After a temporary room is closed, all of its whiteboards are deleted and the room code is freed.
You can also manually close a class room by clicking on the Options button in the top right corner to expand the options menu, then clicking on Close room.