Change in ovirt-hosted-engine-ha[master]: refactor the brokerlink connect() code