If i have 100 devices connected to a socket server and the power goes out on the clients. When the power is reconnected I will get 100 new client socket connections.

The server will now have 200 socket connections. 100 of which are abandoned.

Do I need to detect/handle/close these abandoned connections or will .net/windows detect this and clear it up in the background?