[corlib] Protect against multiple invocation of FromAsync result code. Fix #7965.