redis locks not expiring until all work is done
Merge pull request #218 from bitzesty/smart-redis-locks-rebased

better redis locks implementation