Tests: Fix qemu process leaks.