code: public function clearBehatContextSubscriber()
      {
          foreach ($this->registeredContextList as $context) {
              $this->behatEventDispatcher->removeSubscriber($context);
          }
          $this->registeredContextList = [];
      }
docs: Clear contexts subscriber after each scenario/example