if(scheduler != null) { scheduler.stop(); scheduler=null; }
stopScheduler(); started=false;
    public void stop() {        if(scheduler != null) {            scheduler.stop();            scheduler=null;        }    }