Update orphans when exiting.