...G...PS. [ZBXNEXT-101] reduced code duplication in signal handlers