title: Dynamic scenario freezes when called using afterFeature hook
body: <p>Strange behaviour when I call a feature file for test clean using afterFeature hook. The cleanup feature file is called correctly because I can see the print from Background section of the file, but for some reason the execution hangs for Scenario Outline. </p>
  
  <p>I have tried running feature with Junit5 runner and also in IntelliJ IDE by right clicking on feature file but get the same issue, the execution hangs. </p>
  
  <p>This is my main feature file:</p>
  
  <pre><code>Feature: To test afterFeature hook
  
    Background:
      * def num1 = 100
      * def num2 = 200
      * def num3 = 300
  
      * def dataForAfterFeature =
      """
      [
        {"id":'#(num1)'},
        {"id":'#(num2)'},
        {"id":'#(num3)'}
      ]
      """
    * configure afterFeature = function(){ karate.call('after.feature'); }
  
    Scenario: Test 1
      * print 'Hello World 1'
  
    Scenario: Test 2
      * print 'Hello World 2'
  
  </code></pre>
  
  <p>The afterFeature file:</p>
  
  <pre><code>@ignore
  
  Feature: Called after calling feature run is completed
  
    Background:
      * def dynamicData = dataForAfterFeature
      * print 'dynamicData: ' + dynamicData
  
    Scenario Outline: Print dynamic data
      * print 'From after feature for id: ' + &lt;id&gt;
  
      Examples:
      | dynamicData |
  </code></pre>
  
  <p>The execution stalls at Scenario Outline. I can see the printed value for <code>dynamicData</code> variable in console but nothing happens after that. </p>
  
  <p>Seems like the outline loop is not starting or has crashed? Was not able to get details from log as the test has not finished or there is no error reported. What else can I check or what might be the issue? </p>
  
  <p>If not easily reproducible, what test cleanup workaround do you recommend?</p>