var tf = new TaskFactory(new StaTaskScheduler());
tf.StartNew();