435f2d2178
This is extracted from PR #9175, which adds some tests that seem to need a longer shutdown timeout when running on GitHub Actions.