fix missing return in CheckConnnectionsOnlyToMaster