Hi @Zuka Esakia,
There is no reliable method of detecting that the cable has been unplugged and pending HTTP requests might not be terminated if this happens.
Related Links
https://github.com/SignalR/SignalR/issues/3919#issuecomment-297896803
SignalR bare WebSocket. How to detect that client lost internet connection
But we can change the retry Count inside the withAutomaticReconnect to decrease disconnect detection time.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Jason Pan