public void close() {
        try {
            send(SocketMessageType.PONG.builder()
                    .add("ok", false)
                    .toJson()
            );
        } catch (Exception e) {
            // ignore
        }

        cancelKeepalive();
        closeSocket();
    }
The keepalive tasks checks to see when the last ping from the editor was. If the editor
hasn't sent anything for 1 minute, then close the connection
common/src/main/java/me/lucko/luckperms/common/webeditor/socket/WebEditorSocket.java