while (!done) { System.out.println("StopBoolean running"); try { sleep(720); } catch (InterruptedException ex) { // nothing to do } } System.out.println("StopBoolean finished.");
done = true;