Catch ConnectionError exception from requests

Change-Id: I265eead799381f7fe23d8abf9ace31d96f1f6528
Closes-Bug: #1381456