flag the socket as dead on close