public void nowClose() {
        this.close();
        if (Objects.nonNull(timerTask)) {
            timerTask.cancel();
        }
    }
Now close.
now close. will cancel the task execution.
shenyu-sync-data-center/shenyu-sync-data-websocket/src/main/java/org/apache/shenyu/plugin/sync/data/websocket/client/ShenyuWebsocketClient.java