Simple fix for #29816.
Since the wallet is appended to the global WalletContext during
creation, merely calling reset() on the benchmark shared_pointer
is insufficient to destruct the wallet. This no destruction of the
wallet object results in keeping the db connection open, which
was causes the fs::remove_all() failure on Windows.