Add redis-mutex for encode locking