Fix a hang in daemon collectives when run on multinode systems