Room is closed when the last “non programmatic” participant leaves, not just any. I remember reading it somewhere else. Below page doesn’t mention the non programmatic participants. I have seen this in other documents. I have a feeling some of these documents haven’t been updated based on the agents etc.
A room is created automatically when the first participant joins, and is automatically closed when the last participant leaves.