Add redis lock for syncing part