REFACTORED after a signal has been received sent by the handler, the process is terminated.

Signed-off-by: Michael Grammling <m.grammling@external.telekom.de>