private boolean serviceIsRunning() {
   return !service.isShutdown();
 }
 public QueueListener(JavaFXExecutorService service) {
   this.service = service;
   queue = service.getQueue();
 }