Upgrades, catch http exceptions generated by nailgun client

Sometimes we can get 500 error from
nailgun, in health check we need to
catch all of this exceptions

Change-Id: Ib683bc913bc82de4e3346ef591ee250205be098f
Closes-bug: #1346346