Xojo.Net.HTTPSocket.Disconnect
From Xojo Documentation
Method
Disconnects the socket.
Notes
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.