Best way to Clean HTTPSockets after use it

Hello world!

I have an Array of HTTPSecureSockets, that I invoke their GET using Threads, in order to do Simultaneous Query Downloads.

But I wonder which are the best way to clean the HTTPSockets after using it (after all downloads finished)

I’m using this:

  RemoveHandler Socket(8).DownloadComplete, AddressOf DownloadDone09

As you can see, first I purge the socket, the I close the socket and Finally I remove the Handler.

If I’m doing a silliness, pls tell me :smiley:

Calling Purge() before Close() is probably superfluous, but there appears to be nothing silly.