reconnect when connection with websocket drops