fix endless loop if qemu dies *after* saying it will write out a screenshot