catch any exception waiting with requests

requests-2.4 changed the exception class for failed connections.