When this free flow is going on, you may very well need your hands for other things so don't mess with this holding the reg out in front of you and sipping it stuff. Just keep it in your mouth and breath, letting the excess air escape through the exhaust. you won't blow up. The exhaust valve opens at very low pressure. Turn you head to the side if you need to to keep the bubbles from dislodging your mask BUT, staying horizontal will help here too. DON'T GO VERTICAL...that's for walking not diving.
The air will be COLD. Once you have a handle on things, if you have a free hand, then you can back the reg out of your mouth a little for comfort.
Practice this until yo can manage it midwater. Since we dive midwater, that's where problems usually happen.