According to the documentation, it should do. If we don't manage to connect then we should get an exception earlier and even if the XML we get back doesn't contain the rcode and rmessage we'll just get null in the log line.