Added blocking using threading.Lock. Optional blocking.
Merge pull request #6 from r3/master

Blocking