move killsnake to its own function

and add a delay so there is time to load his dead head before we display it