Raise a particular error on connectivity issues