How to avoid restarting ttyd service

I have installed and enabled ttyd on my working OpenWrt router. But it remains "alive" for only one connection. The next time I try to connect to the router via the browser, I am forced to restart the service manually. Is there any way to fix this issue?
Thank you.

The ttyd package includes an init script to start it, which will also try to restart the process should it die for any reason. Did you start it with the init.d script?
/etc/init.d/ttyd start
To automatically start on boot, run /etc/init.d/ttyd enable

To use non-default options, configure them in /etc/config/ttyd

ttyd is enabled and running after each boot, but for a reason I don't know it dies after the first connection.