These sockets are not leaking per se. They are garbage collected cleanly when needed (or I missed something). I leave them that way because joining the threads was taking a long time, slowing the test suite significantly.
I can dig the subject again if needed, but I'm pretty sure I checked there was no leaks because that comment was introduced while tracking socket leaks...
I am the author of the comment.
These sockets are not leaking per se. They are garbage collected cleanly when needed (or I missed something). I leave them that way because joining the threads was taking a long time, slowing the test suite significantly.
I can dig the subject again if needed, but I'm pretty sure I checked there was no leaks because that comment was introduced while tracking socket leaks...