test: fix flaky tls-inception
PR to address #5386 (closed) .
Affected core subsystem(s)
test
Description of change
The test now catches ECONNRESET errors thrown in parallel/test-tls-inception on windows. It also replaces removes socket.destroy()
with as socket.end()
,socket.destroy()
also seemed to be causing occasional failures on windows.