BUG: incomplete sequence consumption of Query results could lead to delayed connection release to pool