Raise exception on generic test_domain connection errors