catch ConnectionError exception