As requested in #19517. @bitcoinhodler may also have some suggestions given they opened the original issue (#19516), after it was flagged by some of their own tests.
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.