telling client when socket is disconnected