SignalR Websocket Exception when closing client
Try providing a TimeSpan to the close method to give it time to actually close while waiting for any async processes which may be in progress:
public void Stop()
{
_connection.Stop(new TimeSpan(1000));
}
This worked for me.
Looks like a known issue which might be fixed in v3.