Describe the bug
If the Cleaner service is stopped or restarted, the shutdown of the active instance is delayed until the cleaner interval has expired (by default 60 sec). Therefore, the shutdown or restart of the service can take up to one full second. The reason is that the asyncio eventloop has been put to sleep for the interval. It should be checked if it would be possible to cancel the sleep.
Describe the bug If the Cleaner service is stopped or restarted, the shutdown of the active instance is delayed until the cleaner interval has expired (by default 60 sec). Therefore, the shutdown or restart of the service can take up to one full second. The reason is that the asyncio eventloop has been put to sleep for the interval. It should be checked if it would be possible to cancel the sleep.