Build fix for 'DynamoModel.ShutDown' related InvalidOperationException