protected function _formatWaiting(array $tasks, $plain) {
		$dependsOnTaskFormatted = array();
		foreach ($tasks as $task) {
			if (!in_array((int)$task['status'], array(TaskType::DEFFERED, TaskType::RUNNING, TaskType::STOPPING, TaskType::UNSTARTED))) {
				continue;
			}
			$dependsOnTaskFormatted[] = $plain ? $task['id'] : $this->id($task);
		}
		return $dependsOnTaskFormatted;
	}