diff --git a/lib/components/keyserver-connection-handler.js b/lib/components/keyserver-connection-handler.js --- a/lib/components/keyserver-connection-handler.js +++ b/lib/components/keyserver-connection-handler.js @@ -178,8 +178,10 @@ throw e; } finally { if (!hasBeenCancelled()) { - await sleep(AUTH_RETRY_DELAY_MS); - setInProgress(false); + void (async () => { + await sleep(AUTH_RETRY_DELAY_MS); + setInProgress(false); + })(); } } },