diff --git a/src/infra/net/http-connect-tunnel.ts b/src/infra/net/http-connect-tunnel.ts index 04ad11302ae..82bf80725c5 100644 --- a/src/infra/net/http-connect-tunnel.ts +++ b/src/infra/net/http-connect-tunnel.ts @@ -161,7 +161,6 @@ export async function openHttpConnectTunnel(params: HttpConnectTunnelParams): Pr timeout = setTimeout(() => { fail(new Error(`Proxy CONNECT timed out after ${Math.trunc(params.timeoutMs ?? 0)}ms`)); }, Math.trunc(params.timeoutMs)); - timeout.unref?.(); } const proxyHost = resolveProxyHost(proxy);