Lith, I just end up finishing the set and pushing hard anyway if I fail then so be it. The post ride ice cream fixes whatever negativity might result from that.
Honestly, failing a workout isn't always a bad thing as long as you rest up and keep at it.