Make skelde terminate properly.

Don't ask me.