Server reboot trigger quit working

We have had triggers enabled for server reboots for a while now and ever since later versions of v3 the trigger quit working and we just see that it fails in the UI.

Ever logs:

FYI this trigger would usually fire off when the server would reboot or preforming PSU updates.

I opened an issue for this. Server Shutdown Trigger not Firing · Issue #2324 · ironmansoftware/issues · GitHub

Seems like a timing problem where the database has been disposed before the trigger runs.