Catch ConnectionErrors from requests module