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