Issue:
When a custom worker_abort hook contains time-consuming operations(Email reminder), it will be interrupted after executing part of it.
Why:
Some of my jobs (Background thread running) take a long time to execute, when the timeout period is exceeded, the job will be killed. At this time, I need to customize the hook to listen for the exception information.