code: private function hasExceededTimeout(): bool
      {
          return -1 !== $this->timeout && (microtime(true) - $this->startTime) * 1000000 > $this->timeout;
      }
docs: Returns true if the process has been running for longer than the specified timeout.