Avoid http-conduit exceptions from non-2XX codes and timeouts

--HG--
extra : amend_source : 7b271d420264cf51b77bf5514dc9b366e5481889