Openvidu-android - WebSocket not stopped when leaving session

Hello,
I noticed that after leaving a session the websocket continue to send requests, do someone know how to stop this AsyncTask ?
I tried “.cancel” without success.

up :slight_smile:
//post must be at least 20 characters

I’m encountered same problem, in particular on this:
CustomWebSocket -> public void leaveRoom() {
this.ID_LEAVEROOM.set(this.sendJson(JsonConstants.LEAVEROOM_METHOD));
}
It doesn’t send nothing and the web socket continue to ping… Have any idea?