J/k. But in all seriousness, the 6 cars that finish understood not to put themselves in a position where they would flip and/or run out of gas. That IS what endurance racing is, finishing is the foremost goal. Yes we made mistakes, but we knew to avoid the errors that would end our day.
I'd say that our car, at least, was on the very verge of flipping quite often during the race and I'd say it 50% was sheer luck (during my stints, anyway) that we didn't go over at some point. In order to maintain the leaders' pace we had to be very aggressive at the curbs and it resulted in quite a lot of wheels off the ground. This is down to the track design + physics flaws + incomplete features in LFS; they encourage dangerous driving in order to be quick.
We were putting ourselves in those positions all race long... we were just lucky.