Leave potential interruption up to scheduler shutdown. Closes gh-31019 (cherry picked from commit 6fc5a78252)
6fc5a78252