Hey Markus,
The first thing that jumped out at me from above was how you call your bundle to copy the file:
methods: "any" usebundle => filecollector("$(cf_clients)"), action => silent_sometimes;
You reference the list of clients with $. So, the bundle will be actuated once for each client. Have you instead tried passing the list so that the bundle is called just once and the iteration on the client happens inside the bundle?
Like:
methods: "any" usebundle => filecollector("@(cf_clients)"), action => silent_sometimes;
Regarding the maximum number of connections, I see that you mention setting control_server_maxconnections, note that variable is used by body server control (cf-serverd). For your policy, where you have one agent that is creating a bunch of connections from cf-agent you might consider setting default:def.control_agent_maxconnections. It's set to 30 in the MPF by default.
I would link you to the docs that mention it, but it doesn't seem to be explicitly called out yet so I just filed an issue about it here https://northerntech.atlassian.net/browse/CFE-4602