Fix excessive system calls

http://cl.ly/image/0d301Q2h2K2A – in my application redis lock is called pretty often and it has a significant bottleneck as you can see from the picture