345346347348349350351352353354355
e.printStackTrace(); } System.out.println(addServicesTask.getMessage()); if(addServicesTask.isDone()){ // Stop the thread addServicesTask.stop(); System.out.println(". done :)"); wait = false; } } // Now the queries can be started