public function stop(?string $name = null): Item
    {
        $name = $name ?? self::BASE_ITEM;
        $item = $this->items[$name] ?? null;

        if (null !== $item) {
            unset($this->activeItems[$name]);

            return $item->stop();
        }

        throw new \InvalidArgumentException(sprintf('Item with name %s not found!', $name));
    }