[server] add a looping task to free unused cnxsets capture by dead pyro
When a pyro client disconnects, we're not necessarily notified so they
can hang on to their session/cnxset forever. Don't let them do that.
The hacky looping task is only installed when pyro is enabled. This optional
activation save this very hacky patch from being rejected.
closes #2825380
if versions_map['cubicweb'][0] == (3, 7, 4):
config['http-session-time'] *= 60
config['cleanup-session-time'] *= 60
config['cleanup-anonymous-session-time'] *= 60