Just like under Windows, cleanup_exit() shouldn't need to check