problem with mikrotik tunnels

hi . i have a problem with my mikrotik routers . after a few hours that vpn client connect to mikrotik vpn server (sstp,ovpn,l2tp) i see some tunnels are not running but remain dynamic . what is it ??
how i can fix it ? or any script to delete not running tunnels ?? i’m in iran and i think government is offend to avoid users access to free internet .
mk-problem.jpg

Hard to tell because you have not included full screenshot, but you can change the script below for different interface type
ovpn-client, sstp-client, sstp-server, ovpn-server etc ect

:foreach IF in=[/interface ovpn-server find where dynamic && !running] do={ /interface ovpn-server remove $IF };

maybe you could also just shorten to this, but be careful you don’t delete a non-dynamic interface by mistake.
:foreach IF in=[/interface ovpn-server find where !running] do={ /interface ovpn-server remove $IF };

thanks all . after downgrade from 7.7 stable to 6.48.6 longterm problem fixed