public void removeRunningTask(Task task) {
		for(Task t:taskQueue){
			if(t.getJob().getID() == task.getJob().getID() && t.getTaskID() == task.getTaskID()){
				if(t instanceof MapperTask &&task instanceof MapperTask)
					taskQueue.remove(t);
				if(t instanceof ReducerTask &&task instanceof ReducerTask)
					taskQueue.remove(t);
			}
		}
	}