public CoordDispatcher(Socket socket, JobTracker tracker,
			SlaveMonitor monitor) {
		try {
			this.in = new ObjectInputStream(socket.getInputStream());
			this.out = new ObjectOutputStream(socket.getOutputStream());
		} catch (IOException e) {
			System.out.println("Dispatcher: fail to create socket");

		}
		canRun = true;
		this.socket = socket;
		this.tracker = tracker;
		this.slaveMonitor = monitor;
	}