Setting the send flag to false can be replaced by simply returning.
This is a partial backport of [[https://github.com/bitcoin/bitcoin/pull/21235 | core#21235]]
https://github.com/bitcoin/bitcoin/pull/21235/commits/fae77b9e6dc9e59b355d56df49c4d9685b6f40a4
Depends on D13309