Fixing illegal negative timeout values for HtmlUnitDriver, zero means
infinite wait