WebSocket reconnect loop in AppFoundry bot integration

Docs state: “The client should automatically reconnect on temporary network failures.” We’re seeing an infinite reconnect loop every 4s when the Cognigy bot drops the WebSocket. The client sends a 1000 Close frame, Genesys returns 1000, but the SDK doesn’t stop trying to handshake.

ws.on('close', (code, reason) => {
 console.log(`Closed: ${code} ${reason}`);
 // code is 1000, but ws.readyState stays CONNECTING
});

Is this a known bug in the AppFoundry SDK?