sPFWFDMid/src/main/java/it/polimi/spf/wfd/EternalConnect.java
private void killScheduler() {
        if (scheduler != null) {
            WfdLog.d(TAG, "scheduler killed");
            scheduler.shutdown();
            scheduler = null;
        }
    }
private void killScheduler() {
        if (scheduler != null) {
            WfdLog.d(TAG, "scheduler killed");
            scheduler.shutdown();
            scheduler = null;
        }
    }
Kill the scheduler to stop the Eternal Connect in any case.