```release-note:bug
agent: Fixed a bug to prevent a possible panic during graceful shutdown
```
