diff --git a/src/sakia/main.py b/src/sakia/main.py
index a0f41a2b8896a22c5ed596fdfc123af91d256b29..6271f2aa61487aa98d334b139a7005c49820f18b 100755
--- a/src/sakia/main.py
+++ b/src/sakia/main.py
@@ -162,6 +162,8 @@ def main():
     loop.set_exception_handler(async_exception_handler)
     # loop.set_debug(True)
     asyncio.set_event_loop(loop)
+    # Fix quamash https://github.com/harvimt/quamash/issues/123
+    asyncio.events._set_running_loop(loop)
 
     with loop:
         app = Application.startup(sys.argv, sakia, loop)