Close all existing connections when a master address changes