(sorry for my english)
“/ip firewall connection remove [find]”
This command do not work as many person think…
If some connection are closed (removed) between the start and the end of the command, it do error and stop working, leaving open some connections.
Il work like, “I collect all connection_id, and after that, one per one, close it”.
But if for some reason, in the meantime, connection_id are already closed (like are expired), the procedure stop.
I’m writing one function to do that without error (i hope), some minutes and I post that here.