Fix AttributeError in memcache client