Backport retry connections to Quantum API

affects:
* Quantum API calls
* Keystone API calls for Quantum resources