Catch timeout exception and continue.

This fixes a flake in login_ChromeProfileSanitary.

BUG=chromium:350941
TEST=manual

Change-Id: I964fdd455259a6a25314049b71606e65363a0fd0
Reviewed-on: https://chromium-review.googlesource.com/190420
Tested-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>
diff --git a/client/common_lib/cros/chrome.py b/client/common_lib/cros/chrome.py
index 3576bc9..40acff4 100644
--- a/client/common_lib/cros/chrome.py
+++ b/client/common_lib/cros/chrome.py
@@ -146,7 +146,11 @@
             except (exceptions.BrowserGoneException,
                     exceptions.BrowserConnectionGoneException):
                 return False
-            tab.Close()
+            try:
+                tab.Close()
+            except (util.TimeoutException):
+                # crbug.com/350941
+                logging.error('Timed out closing tab')
             return True
         util.WaitFor(lambda: _BrowserReady(self), timeout=10)