title: Loose request outside of an expired connection
body: <p>I am trying to perform the following <a href="https://github.com/vitaly-t/pg-promise" rel="nofollow noreferrer">pg-promise</a> query, but receive this error:</p>
  
  <blockquote>
    <p>Loose request outside of an expired connection</p>
  </blockquote>
  
  <p>The query actually succeeds, but, even so, I would like to get rid of the error message.</p>
  
  <p><strong>The pg-promise query</strong></p>
  
  <pre><code> db.task(t =&gt; {
            t.oneOrNone(queries.insertUser, [profile.id])
            .then(id =&gt;{ 
            if (id) {
              t.none(queries.insertUserGoogle, [
                profile.id,
                profile.emails[0].value,
                profile.name.givenName,
                profile.name.familyName,
                profile.displayName
              ])
            }})
            .catch(err =&gt; console.log(err))
  </code></pre>
  
  <p><strong>The SQL</strong></p>
  
  <pre><code>const insertUser = `INSERT INTO users (google_id) 
      VALUES ($1) 
      ON CONFLICT (google_id) DO NOTHING
      RETURNING user_id`;
  
  const insertUserGoogle = `INSERT INTO users_google (google_id, email, first_name, last_name, display_name) 
      VALUES ($1, $2, $3, $4, $5)`;
  </code></pre>