finish connection of master with minions