private synchronized void kill() {
        resetState();
        try {
            CharBuffer response = CharBuffer.wrap("{'type': 'dead'}");
            outbound.writeTextMessage(response);
        } catch (IOException ioe) {
            // Ignore
        }
    }