Musharraf snaps back at US, threatens to quit