No problem. I’ll add this in the next release. You could get access to the websocket close event now like this.
ioBoardInstance.getSocket().addEventListener(WSocketEvent.CLOSE, doSomethingOnDisconnect);
But I’ll add a IOBoardEvent.DISCONNECTED event which will be more convenient.