title: Promise still pending even after knex.destroy()
body: <p>I'm having some progress learning about Promises, but I don't understand why the knex behave like this in node.</p>
  <p>I successfully receive a query and console.log it out, but when I run</p>
  <blockquote>
  <p>node filename.js</p>
  </blockquote>
  <p>The process doesn't quit and stay there after successfully print, like if the Promise still pending.
  Should not the knex.destroy() in the .finally statement end the Promise?</p>
  <pre><code>async function SELECT_ALL_P() {
    const transaction = await knex.transaction()
    return knex
    .select('*')
    .from('p')
    .then(items =&gt; {
      return console.log(items)
    })
    .catch(error =&gt; {
      console.log(error)
    })
    .finally(function() {
      knex.destroy()
    })
  }
  
  SELECT_ALL_P()
  </code></pre>
  <p>I event tried like</p>
  <pre><code>.then(items =&gt; {
      knex.destroy()
      return console.log(items)
    })
  </code></pre>
  <p>But it didn't worked also. I need to Ctrl+C in terminal to quit the node execution.</p>