Merge pull request #105 from jfclere/master

Add logic to lock the nodes tables