if ($newest_instance) { $newest_instance->status("killed"); $newest_instance->end; }