Remove internal continuations from unfinished tasks used in WhenAny, Fixes #11008