This is the ultimate "SHUT DOWN NOW" command Calling this will shut down the message pumps and logically exit the process. Application.Exit() will not work (properly anyway) because you are running through an SF application.
We always create a shared ShutDown method that does everything we need it to. This was we can access from more than one location if need be.
If this meets your needs then sure. The way I mentioned earlier would just give you the ability to shut down your application from anywhere if you needed to.
I believe you are