Required magic to kill the spawned instance.