brain isn't quite moving yet this morning, but this might get you started. basically sets the active pool member count to a variable every 60s, and when a client connects, if its check of the current count is greater than the last count, it'll remove persistence for those clients connecting in the minute where a new pool member was added to the active list. That's the theory anyway.
when RULE_INIT {
after 60000 -periodic {
set static::counter [active_members /partition/pool]
}
}
when CLIENT_ACCEPTED {
if { [active_members /partition/pool] > $static::counter } {
persist none
}
}