src/cod: Don't die unless we are killed