```release-note:bug
core: Prevent metrics generation from causing deadlocks.
```
