Axios randomly hangs entire nodejs under vscode debugger

I have just upgraded to axios 0.19.2 having been using axios 0.19.1.

My small module running stand alone has run fine for months - not since the upgrade.

I am using using a JSON file to provide a fixed list of urls. My code is running in the vscode debugger native on the nodeJS server without express or other components. The JSON provides a list of URLs some of which are valid and some invalid as part of a test rig - the urls never change. There are 10 urls in total. This is just a small module test - it doesn’t do anything else.

Every 100 seconds the utility calls via axios.get all the 10 urls - to different websites I manage. All are issued in parallel and then Promise.all is used to wait for them all to complete and go and wait another 100 seconds.

This used to run for weeks non stop without issue. Now completely at random it hangs in the vscode debugger. By that I mean there is no ability to type into the debugger script line, no response to run/suspend.

in the console the last line is always as below and not for a specific - it usually occurs when 7-9 of the 10 urls have completed OK)

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {errno: ‘ENOTFOUND’, code: ‘ENOTFOUND’, syscall: ‘getaddrinfo’, hostname: ‘brrra.ukx’, config: {…}}

this has an expand chevron but all that gives you is a rolling circle

if you press the red square to stop it, it aborts the rolling circle and says process exited with code 1

Only the outermost test.js test script shows in the call stack.

I am afraid I have no idea what is happening or how to find out. Does anyone have any ideas?

This does not appear to be a problem if instead you run the same code from Terminal