Fail with exceptions

The extension methods throw appropriate exceptions when the server is
not available, as suggested by @codepoetpbowden