Everytime injuries happen to myself or others, I take the time to reevaluate the events and actions that led up to the critical moment and the reaction. More often than not, the response to the initiating event is chaotic and uncontrolled; injuries are very common afterwards. Every once in a while you'll hear or see people escaping imminent catastrophic injuries, converting them to graceful deliberate movement if not less painful bails. Being able to react in the most miniscule amount of time takes hours upon hours of training, something which was reinforced again after reading an article in TIME.
The article highlights preparation, feeling of control, and humor as key points to developing fearlessness. While the focus is on fearlessness, the sections on preparation and feeling of control are very applicable to how we, as practicioners of parkour and any other movement art, react to the unexpected, i.e. getting your foot caught during a kong, slipping on a precision jump, etc.
There is obviously no time to think, step back, and assess the situation in a split second while you're flying through the air. Make or break decisions happen instinctually, experience and long hours of training rewires how a person reacts under different circumstances, much like how different martial artists instinctually move when punched in the face.
Everyone is going to be injured at some point in time, it's just a question on when, where, and how. While training a proper reaction to an unspecified and unexpected event cannot be done 100% accurately, we can train certain movements that can reduce the severity of a given situation, such as break falls and rolls. The training involved is not the most flashy nor is it the most exciting thing you'll be doing but diligent and consistent practice will prepare you in the likely event of a bail. Practicing rolls have saved me from face planting and doing scorpions more times than I can imagine.
Simple adjustments and variations to your training such as having someone pull on your shirt or pants while performing certain moves can simulate your clothes being caught on hooks and whatnot. These little things will help you get an idea as to how your body will move given the change in force and direction, allowing formulation of a fall strategy and practicing it over and over and over and over again until it's instinctual.
As always, train these with progressions.
Of note, Amos Rendao from Apex Movement has been developing Parkour Ukemi, a study of proper bails under different circumstance; something any parkour practicioner should be very familiar with. His work and study on bails is highly recommended.