```release-note:improvement
core: add `detect_deadlocks` config to optionally detect core state deadlocks
```