main_term(): cleanup() -> exit(0)