recovery after connection failure without reloading page