The same happens in long local races. Sometimes the pack will negotiate a nature break like the pros do and the entire race will stop. Sometimes you just have to stop fast. Some riders can pee while riding (ride no hands, pull down the shorts, turn to the side).