deal with connection breakage on browserstack