Back 2011, the U.S. was hurtling towards a default but narrowly averted it.