simplified application exit