Build fix for 'DynamoModel.ShutDown' related InvalidOperationException
Merge pull request #2563 from Benglin/master

Build fix for 'DynamoModel.ShutDown' related InvalidOperationException