Exit fixes.
Make sure croutonclip can be terminated.