bug: cannot exit entire application.