Handle exception on "hg push" (e.g. due to network outage)