TCP socket lifetime query

I’ve noticed on the Giga that when the WiFi is disconnected and reconnected it gets a new interface name which I’m assuming means it’s creating a new instance of a network interface - anyway, that got me wondering about lifetimes.

Is a TCPSocket instance still valid if I disconnect and reconnect to a network or the connection drops, requiring me to reconnect? Do I need to tear everything done I’ve constructed (eg http client instances, MQTT instances etc)?