@Override public void run() { System.out.println("Starting"); while (!stop) { postQuote(); keepComputerAwake(); try { Thread.sleep(SECONDS_DELAY * 1000); } catch (InterruptedException e) { } } }