Fixing HtmlUnitDriver to handle timeout exception on refresh