Operating system name and version: ubuntu 22.04
Version of smsd: 3.1.21
Smsd installed from: package repository
Name and model of a modem / phone: huawei e171
Interface: usbserial-tcp RFC2217 using mikrotik router

Sometimes smstools lost connction to modem. smstools restart and works.

How to make smstools reconnect on timeout

cfg is