Adding retry for transient server errors and socket timeout exception from client
This PR is to make our service ITs robust. We have observed lot of transient server errors like service unavailable and bad gw . We have added retries in those cases. The functionality doesn't change. The retries in case of transient errors and exceptions make it more resilient.
Edited by preeti singh[Microsoft]