Improve MediaTypeFormatter use of canceled tasks.