StopLoss: Teaching Agents to Predict Failure and Stop Early | HACKOBAR_