gratefully handle exits.