Thank you very much! My fault because I did not understand it correctly the first time that I read it, and I was trying to do something that it was already considered by you :)
It works great, and if the VPN stop, all the connections close correctly and no new ones are established.
I understand...