Auto terminate TCP connections after client disconnects.

Hi everyone, I found I have over 1000 connections in the firewall connection list, and most of them are generated by clients already disconnected from my router, but they are still waiting the 24h time out.
Is there any way to remove them automatically after clients disconnected?
Thank you.

You can change that under IP>Firewall>Connections

Thank you, do you mean shorten the TCP time out? but I don’t want them to time out when using, I want the router to delete idle connections, for example, a client disconnected from the router 10 minutes ago, then delete all connection with that client automatically.