Frequent ECONNRESET errors downloading VS Code from

I work on a VS Code extension that uses the vscode-test package to download VS Code at the start of the test run. It fairly frequently fails to download VS Code with an error like this:

Downloading VS Code 1.39.2 from
      throw er; // Unhandled 'error' event

Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
Emitted 'error' event at:
    at TLSSocket.socketErrorListener (_http_client.js:392:9)
    at TLSSocket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Example build:

I don’t see this error on Travis or AppVeyor but I’ve seen it many times on GH actions and I’ve not run there that much so I think it may be at GH’s end. Since Actions doesn’t let me re-run a single step, this is a big blocker to moving from Travis, since it means re-running the whole run (and my matrix is quite big - when I’m not skipping half of it :-)).

I don’t know if it’s the same thing, but I had this too - using the GitHub-provided NodeJS action. I don’t know that it’s a connectivity issue because the error message isn’t great, but there’s not much else going on there.

Build log: