Pretty much it's a "be in the right place at the right time". The ride will open and close randomly and except for a rush of people when the line starts to form, there isn't a lot of notice or predictability about it.
The annoying part is that you can be in line waiting and they suddenly decide to close it down...and they will make you clear the line.