Added more failures to retry on in git fetch scenario.

Updated related functional tests to not retry (as the server should do that now)
Updated some tests to async / await code.
Also added an assert for exceptions that can handle async code.
Fixes #535