Implement the connection timeout work-around on the remaining scenarios

Use the work-around suggested on https://github.com/actions/virtual-environments/issues/1499 to avoid connection timeout errors in the github actions
3 files changed