Added lock around publisher as client lib is spawning new threads which in an already multi-threaded environment doesn't seem to be a good idea... ......