IIRC, Deng was asked by a Westerner when he would further liberalize China. The reply was that he wouldn't let happen to China what had happened to Russia. I recall thinking that I couldn't argue with that as Russia had fallen into a deep pit.
I think the moral is that you shouldn't get into that spot to begin with.