what to do with closed sockets?