Refactor locking mechanism
* Prevent race when two lockers get same timestamp
* Support multiple redis instances