Added short (10ms) wait after each MSBuild invocation to allow process to fully terminate.