If you can financially, buy (second-hand) higher-end material, it will come with stronger wires and stronger connections.
For example, see the difference in the constraints damper on these connectors:

vs Apple's:

Jack being simple technology, it's also very easy to get it repaired by the nearby tech enthusiast armed with a soldering iron.