title: How to use python async task without await
body: <p>I use async create_task to run my task in background, but my_task() method not be executed.</p>
  <pre><code>async def my_task():
      print(&quot;starting my task...&quot;)
      time.sleep(2)
      print(&quot;finished my task.&quot;)
  
  
  if __name__ == '__main__':
      print(&quot;1111&quot;)
      loop = asyncio.get_event_loop()
      loop.create_task(my_task())
      print(&quot;2222&quot;)
  </code></pre>
  <p>the result is</p>
  <pre><code>1111
  2222
  </code></pre>