Thread.currentThread().sleep(5000);
Thread.sleep(5000);
    public void abort() {        // current request has been aborted.        Thread t = thread;        if (t != null && t.isAlive()) {            t.interrupt();            try {                Thread.currentThread().sleep(5000);                if (t.isAlive()) {                    // thread is still running, gotta stop it.                    t.stop();                }            } catch (InterruptedException i) {            }        }    }