public void sendWork(String configPath, InputTracker input, int workID) {
		try {
			curWork = input;
			if (oos == null) {
				oos = new ObjectOutputStream(sock.getOutputStream());
			}
			if (ois == null) {
				ois = new ObjectInputStream(sock.getInputStream());
			}
			oos.writeObject("Start job");
			oos.writeObject(workID);
			oos.writeObject(configPath);
			oos.writeObject(input.getInput());
			String response = (String)ois.readObject();
			//Resume the thread if we should send work again
			if (response.equals("Ready.")) {
				try {
					this.start();
				} catch (Exception e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
			else if (response.equals("Worker busy.")) {
			}
		} catch (IOException e) {
			shutDownSelf();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}