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
Merge pull request #6 from brainopia/patch-1

Fix excessive system calls