change code to detect case where vm hasn't started in kill_vm