qemu: shut down when testcase has finished executing