Main function with an asyncio loop that run forever. Exists on Ctrl-C. Closes #2 and closes #4.