public synchronized void send() {
		while (commands.size() == 0) {
			try {
				wait(50);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		
		for (Command dc : commands) {
			try {
				dc.send(dos);
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		
		commands.clear();
		coordCommand = null;
	}