The shutdown outlasted its timeout. The step property says what was still running: drain (a
target commit or a hook) or onShutdown. That work cannot be cancelled and may still be running. A
drain failure that came first is in cause.
If the timeout expires during draining, onShutdown waits until draining and cleanup settle.
It does not run if the drain never settles.
Fix — the persisted cursor never passes unconfirmed data, so a restart is safe. If this repeats, raise
the timeout, and keep it below the deadline of whatever sends the signal. Exit the process when you
catch this error, because the unfinished work may keep it alive.