private function regenerateTaskById($id)
    {
        try {
            $response = $this->taskQueueService->regenerateTask($id);
            if ($response) {
                $this->output->writeln("<info>Regeneration succes</info>");
            } else {
                $this->output->writeln("<error>Regeneration succes</error>");
            }
        } catch (TaskQueueServiceException $e) {
            $this->output->writeln("<error>Error!:</error>" . $e->getMessage());
        }
    }