Update includes socket retrying if disconnection or failure to connect happens