Fix #10754 - std::run functions fail after io_error
#10936
Merged
std::run functions fail after io_error
#10936