OS 7.19.2 as SSTP server, connection keep running while inactive, how to kill automatically?

Hi, it happens sometime, that the SSTP user keep visible on PPP host list, while this user is inactive. As I?ve set for each user "one only connection", to avoid he can give someboy else the same account, the user can't more access until I remove manually the user from the PPP list.

Chances are, Mikrotik doesn't get the disconnection command from the user, and keeps the connection active even id there isn't one. How to solve this problem?
Thank you for suggestions

This is normally solved by the PPP (SSTP in this case) keepalives within minutes (10 by default) after the connection breaks, but if you want to allow the user to reconnect immediately, associate a single remote-address to each /ppp secret, set only-one to no and use the on-up script in the /ppp profile to remove all previous connections each time a new one establishes. So by sharing their credentials with someone else, the users would create an issue to themselves, as the friend would be able to kick them off at any time.

I had an issue with this as the removal of the old ephemeral interfaces was leaving behind their IPv6 link-local addresses but that was happening back in 7.16 and in 7.19 it has been already fixed.

thank you dear for suggestions,
by this time I would try the idle timeout option, probably this is the fastest and acceptable solution, I?ve set it to 5 min. As a phone connect, it will for sure request something within 5 min, so it keeps alive.
About the script is not really clear by few words, I need to look deeper, but for now I'll just test the timeout )