SignalR client method calling C#/JS interop, hangs indefinitely. - C#