Photon Cloud Closing Room

How do I prevent players from joining the room with random join after the match has been started?

Set Room.open = false.