hexalog added signal-handler for sigterm