Waiting for nodes to be connected before broadcasting messages and
waiting for network before running tests.