def _collect_masters_map(self, response):
        '''
        Collect masters map from the network.
        :return:
        '''
        while True:
            try:
                data, addr = self._socket.recvfrom(0x400)
                if data:
                    if addr not in response:
                        response[addr] = []
                    response[addr].append(data)
                else:
                    break
            except Exception as err:
                if not response:
                    self.log.error('Discovery master collection failure: %s', err)
                break
Collect masters map from the network.
        :return: