UE4 Vehicles: spin out

When applying the handbrake going at a high speed, the vehicle correctly enters a spin.

But we don’t want this for our game.

How can I prevent spinnout using the basic UE4 4 Wheeled Vehicle class? I’m using C++…

I found the answer, which is simply to clamp the max angular velocity using something like this: