Add signal handling capability to the application so that it can handle SIG* and exit properly saving necessary states.
Add signal handling capability to the application so that it can handle SIG* and exit properly saving necessary states.