@Beta
    public void setAttachAllStatementsForCleanup(boolean attachAllStatementsForCleanup) {
        this.attachAllStatementsForCleanup = attachAllStatementsForCleanup;
    }
Sets whether all statements created will automatically attached to the corresponding {@link Handle} object automatically.
This can be useful when mostly short-lived handles are used because closing the handle will now clean up all outstanding resources from
any statement. The default is false.

@param attachAllStatementsForCleanup If true, all statements are automatically attached to the Handle

@since 3.38.0
core/src/main/java/org/jdbi/v3/core/statement/SqlStatements.java