Stop signalr connection properly