do not use exit() in Appl to avoid memory leaks