Fixed bug with Barrier not waiting for all nodes to respond.
Fixed bug with client barrier test.