Stop relying on signalcore lib internal retries when disconnected from server and instead restart the connection process.
Catch authentication errors when connecting to signalr server and try to refresh token if it fails.
Bug in _refresh_token function fixed.
User-Agent added.
.send() now called from a thread due to potentially blocking.
Stop relying on signalcore lib internal retries when disconnected from server and instead restart the connection process. Catch authentication errors when connecting to signalr server and try to refresh token if it fails. Bug in _refresh_token function fixed. User-Agent added. .send() now called from a thread due to potentially blocking.