fix flaky net-connect-handle-econnrefused
This PR closes #18164 (closed)
I changed timing of connecting to server. It connects to server after server.close called certainly.
Does that solve this issue? I'd appreciate any feedback or suggestions.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test