public void run() {
		try {
			while (this.dispatch()) {}
			System.out.println("Finished queue");
		} catch (IOException ex) {
			Logger.getLogger(Queue.class.getName()).log(Level.SEVERE, null, ex);
		}
	}