PoolKind::Agent had a no-op disconnect handler, which meant closing connections for agent-driven databases (KingbaseES, Oracle, Dameng, etc.) never actually sent a disconnect command to the Java agent process. The JDBC connection was only released when the process was eventually killed via Drop, which could leave stale sessions alive on reconnect.