Implemented locking so the threading version works too.
tree2d5f1c10317f93663f2dbc699a7e6373d184934e
drwxr-xr-x - node
drwxr-xr-x - server