reconnect function, reconnect after disconnect
reconnect function, reconnect after disconnect

reconnect after disconnect
reconnect after error if not connected
reconnect on connect failed

created reconnect function to apply the same logic and timeouts to the
reconnect scenarios.

Not reconnecting if can't get a token.i

respoke/respoke,respoke/respoke,respoke/respoke