public List<String> getLines() throws IOException {
		List<String> copy = new ArrayList<String>();
		do {
			try {
				copy.add(lines.take());
			} catch (InterruptedException e) {
				throw new IOException(e);
			}
		} while (lines.size() > 0);
		return copy;
	}