SIGNAL won't prevent application termination, though it can do something before the termination.
For example, upon killing the qrun process, the TERMINATE handler calls a function before your app terminates and writes information in a log file or database.
Related articles