Fix for lost sync when connecting different topologies

When using more than 2 talkers/listeners in a network then there are cases where multiple devices choose to become the master and hence lose sync.