Reconnect on closing of websocket.