Distributed lock for nodejs using redis