Stash away the ports - they will be nulled out before the cancel handlers are called
Created attachment 300559 [details] Patch
Comment on attachment 300559 [details] Patch r=me
Committed r211648: <http://trac.webkit.org/changeset/211648>