Otherwise if there is an error we end up with a confusing stack trace.
This way we can override DNS for selenium.