The index task deletes a batch of documents with one `docid = $n` term
per document, so every batch shape is new SQL text. The connection's
statement cache has no limit and kept each of them, on both sides, for
the life of the connection. Deletions are maintenance; they are now
prepared for the one use, and the statement is closed after it.