adding retry for 502,503 bad gateway error and socket timeout exception
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 Harshika Dhoot