Redis Based Distributed Task Locking