use redis.set instead of setnx and expire

this is the current preferred method and also makes taking a lock completely atomic. 

http://redis.io/commands/set