onShutdown has run. This is not a failure, but the range may be incomplete,
so pipeTo rejects to keep code after await pipeTo(...) from treating it as finished. The error has
a signal property.
Fix — nothing is wrong. A restart resumes after the last committed batch. To exit with code 0
instead of the code 1 of an unhandled rejection, catch it: