@Override
    public void run() {
        for (;;) {
            if (this.reconnect) {
                reConnect();
            }
            doScan(this.path);
            doDifferent();
            doPush();
            try {
                Thread.sleep(2000);
            } catch (InterruptedException ex) {
                ex.printStackTrace();
            }
        }
    }