Add signal handler

Signed-off-by: Tomas Hozza <thozza@gmail.com>