Update TaskExtensions.cs