can you make a case with a sample project, just to make sure this is a leak ?
We can simply run tests also.
Note that the docs already say:
A disconnected socket is not set to Nil, but is no longer in a useful state. You should create a new socket rather than attempting to re-use a disconnected socket.