Or not to get into wars in the first place; then you could give up having an Air Force at all, right?
Seriously, "stop doing COIN in poor countries" is a political solution that requires a top-down policy change that goes counter to the entire historical direction of US military involvement since Vietnam. The US very seldom tackles even a second-rate military armed with Russian cast-offs -- the most recent example was Iraq in 2003 -- so the A-10 is still useful for the sort of brushfire wars and missions you get involved with. Even though they'd die like flies in a shooting war with a real front-rank opponent. (Like who?)