Update ThreadTaskExample.cs

try to use this