title: Nested Loop sqlite3 query while Insert not working as expected
body: <p>We have some iterations to store data,
  The Below code execute as first loop execute 5 times.
  After Second loop running,It is not running async.</p>
  <pre><code>for (let chapter = 1; chapters &lt; 5; chapter++) {
  databases.run(sqltitle, function(err) {
  //insert db entery
  for (let chapter = 1; chapter &lt; 10; chapter++) {
  databasesnew.run(sqlchapter, function(err) {
  //insert ten times.
  }
  });
  });
  }
  </code></pre>