...G...PS. [ZBX-8761] fixed potential lockup if signal is received during message logging