Fixed the deadlock when setting properties in the c++ ProjectCollection

Trying to asyncronously call CheckoutAsync as in the Nuget sample was almost for sure causing the deadlock. The call is not needed anyway