title: aiohttp RuntimeError: await wasn't used with future
body: <p>I'm aware of <a href="https://stackoverflow.com/questions/61776830/python-asyncio-runtimeerror-await-wasnt-used-with-future">python asyncio - RuntimeError: await wasn&#39;t used with future</a>, however the answer there doesn't address what went on here.</p>
  <p>When using <code>aiohttp</code> I ran across the following error:</p>
  <pre><code>  File &quot;/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/selector_events.py&quot;, line 485, in sock_connect
      return await fut
  RuntimeError: await wasn't used with future
  Unclosed client session
  client_session: &lt;aiohttp.client.ClientSession object at 0x7fb28040f760&gt;
  </code></pre>
  <p>Here is the code associated:</p>
  <pre class="lang-py prettyprint-override"><code>urls = # some list of URLs including `https://www.alphavantage.co/query?function=OVERVIEW&amp;symbol=IBM&amp;apikey=demo`.....
  
  async def run_tasks():
      session = aiohttp.ClientSession()
      tasks = [session.get(url) for url in urls]
      await asyncio.gather(*tasks)
      await session.close()
  
  asyncio.run(run_tasks())
  </code></pre>
  <p>It <em>looks</em> like I am awaiting the event loop properly, but I keep hitting this issue, what gives?</p>
  <p>Versions:</p>
  <pre><code>aiohttp==3.7.4.post0
  asyncio==3.4.3
  Python 3.8.0
  </code></pre>