Updates websocket reconnection

Reconnect time is now decided by an exponential backof algorithm