Added guards to make publish/recieve thread safe
Merge branch 'master' into node
Fix compileation error for usleep