[server] dynamically close idle database connections
When pool hasn't been empty for `idle_timeout` time, start closing connections.
Tests: pytest
Depends:
@builddeps@,
# Uncomment if the tests require database access
#python3-cubicweb-postgresql-support
Restrictions:
allow-stderr,
# Uncomment if the tests require database access
#isolation-container,