private static synchronized List<TaskDoneListener> initListeners(List<TaskDoneListener> list,
			TaskParameters taskParameters) {
		if (list == null) {
			list = new ArrayList<TaskDoneListener>();
			tasks.put(taskParameters, list);
		}

		return list;
	}