Fixing connection refused error when --driver=selenium is used when browser=reuse