Make exiting better (thanks exratione.com)