Try to fix a concurrency problem of New-AzureVMConfig