title: API calls not returning response with MySQL data streams
body: <p>I have the following code:</p>
  <pre><code>await axiosAPICall(dummyData); // works
  
  const sqlQuery = `SELECT column1, column2 FROM table`;
  const queryStream = mySqlConnectionInstance.query(sqlQuery, []);
  
  queryStream
      .on('error', function (err) {
          // Handle error, an 'end' event will be emitted after this as well
      })
      .on('result', async (actualData) =&gt; {
          // axios api call, the api callback goes to callstack with any of the following errors:
         // 1. read ECONNRESET 
         // 2. Client network socket disconnected before secure TLS connection was established
  
        await axiosAPICall(actualData); // breaks
  
      })
      .on('end', function () {
          // all rows have been received
      });
  </code></pre>
  <p>As you can see I'm getting all the rows from a table in a <a href="https://www.npmjs.com/package/mysql2" rel="nofollow noreferrer">MySQL</a> database stream. When the data comes from the database stream, I'm passing that data to the <a href="https://www.npmjs.com/package/axios" rel="nofollow noreferrer">axios</a> API call.</p>
  <p>The API call works perfectly fine when called outside of the stream logic but when I call the API inside the streaming logic, it breaks all the time.</p>
  <p>I am hitting API calls as fast as each <code>on('result')</code> gets called (the async/await does NOT slow down the request rate, i.e. I end up with multiple requests in parallel.</p>
  <p>Does anyone know why is API calls not working inside the streaming logic section?</p>
  <p>If the question needs any clarifications please comment.</p>