diff --git a/flamenco_worker/cli.py b/flamenco_worker/cli.py
index b1a13e1dd6747957b63081ac430fb0a539376bac..09d817a8793d396ba32d1689a293bfc2c9fe6a44 100644
--- a/flamenco_worker/cli.py
+++ b/flamenco_worker/cli.py
@@ -173,6 +173,9 @@ def main():
             loop.run_until_complete(asyncio.wait_for(mir_work_task, 5))
         except requests.exceptions.ConnectionError:
             log.warning("Unable to connect to HTTP server, but that's fine as we're shutting down.")
+        except asyncio.TimeoutError:
+            log.debug("Timeout waiting for may-I-run task, "
+                      "but that's fine as we're shutting down.")
 
         fworker.shutdown()