in reply to die not exiting Application

We can only guess until you show a complete example of ten to fifteen lines of code which demonstrates this behavior.