free port finding: refactor socket lifecycle
I cannot seem to reproduce !63 (comment 292714)
This MR simplifies socket closing when trying to find a free port.
Edited by Wout De Nolf
I cannot seem to reproduce !63 (comment 292714)
This MR simplifies socket closing when trying to find a free port.