try {
 Thread.currentThread().sleep(5000);
} catch (InterruptedException e) {
 e.printStackTrace();
}