See http://stackoverflow.com/questions/14753906/deadlocks-when-concurrent-editing-a-closure-tree-hierarchy