Apr 01, 2017 07:10 AM|Zhi Lv - MSFT|LINK
How can i prevent that from happening after the OnDisconnected event fired?
As far as I know, SignalR version 2 does not have a built-in server API for disconnecting clients or preventing clients from calling hub methods. If you’d like to prevent clients from calling hub methods after the OnDisconnected event fired, you could try
to define a function and call $.connection.hub.stop() on the client, and then you could call that function from the server to stop a connection.