put a lock to redis
vendorize redis library