public function createMasterClient($name)
    {
        $master = $this->getMasterAddressByName($name);
        if (!isset($master[0]) || !isset($master[1])) {
            throw new Exception('Master not found');
        }
        return new Client($master[0], $master[1], null, '', 0, $this->_authPassword);
    }