fix: ensure the browser process emit a fail when there is no more retries