I went to the brink many times.
A couple of times I thought "I'm gone, This is it."
But then you would just keep working.
I think if you're close to the brink and just make sure that you work twice as hard and put twice as much effort into everything and the people around you and everything, you should come through.