2024-02-05.2035
The future is swallowing errors, so we will use a bare Thread here. This should allow an exception in SQS processing to trigger the uncaught-exception-handler, exiting the process. Systemd will then restart it. Otherwise, SQS receiving stops, and we stop processing async tasks until the process is restarted.