regtest: simplify cleanup after each test