Catch ConnectionError on Py3.