Exits properly now.