net: add support for finished after .destroy()
Calling finished(socket, cb)
would previously not
invoked the callback if the socket was already detroyed.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines