Hi @Ashirvad_47933225
As of now, there is no explicit method to close a previous WebSocket connection. However, we have escalated your case to the relevant team.
That said, WebSocket connections can be explicitly closed from your local machine, as they function as TCP connections that can be forcefully terminated.
For more details on this process, please refer to the following response: Upstox Community Response.
Thanks!