this should be `if (!$this->isStarted() || $this->status === self::STATUS_TERMINATED)`