what does a “RuntimeError: There is no current event loop in thread ‘Thread-2’.” error mean?

Solution
asyncio.new_event_loop().run_until_complete(main())