public function setQueues($queues)
    {
        if ($this->status != self::STATUS_NEW) {
            throw new \RuntimeException('Cannot set worker queues after worker has started working');
        }

        $this->queues = $queues;
    }