Avoid calling get_statline on exit.