Bug 842544 - added try statement to pass captive portal tests on travis