refactor redis lock