'Get client connection.'

def _get_client(self):

    if ((self._client is None) or (not self._client.is_alive())):
        self._client = RiakClient(protocol=self.protocol, host=self.host, pb_port=self.port)
        self._client.resolver = last_written_resolver
    return self._client
