Hm, I think that either we need a NotRunning exception, and check here for this one, or we have something like this:

```python
if self._loop and self._loop.is_running():
  self._loop.stop()
```

But catch an assertion error is not the way, since it means a bug in the code, not a possible execution path.