A non-retryable error code (e.g. SELF_SIGNED_CERT_IN_CHAIN) was thrown inside the detached op.attempt callback, so the governing promise never settled: the caller hung and the throw surfaced as an unhandled rejection that crashed the process. Reject the promise instead, mirroring the retries-exhausted path right below it. Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Zoltan Kochan <z@kochan.io>