You don't have to worry about the flight ticket cancellation. After booking the ticket if any unavoidable situation comes into your life and that is stopping you from traveling so do one thing, United 24 hour cancellation will help you in this.
https://airlinespolicy.com/cancellation-policy/united-airlines-cancellation-policy/