I'm using the JavaScript SDK with autoReconnect set to false, and I'm encountering a situation where the stopped event doesn't seem to be triggered on the client side.
What I've confirmed is that when a connection is lost, the server successfully receives the disconnected webhook, which indicates that the service recognizes the disconnection. However, on the client side, I'm not seeing the stopped event being triggered. According to the documentation, when autoReconnect is false, the stopped event should be triggered when the client stops trying to reconnect after disconnection.
I'm wondering if there are known scenarios where the stopped event might not be triggered due to network issues or internal SDK behavior? The disconnection appears to be caused by network-level issues rather than an explicit client.stop() call. Should I be manually calling client.stop() in the disconnected event handler as a workaround when autoReconnect is false, or is this potentially a bug in the SDK?
Any insights would be greatly appreciated. Thank you!