Make Task.Delay more reliable. Fixes #14585