presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoStatement.java/PrestoStatement/closeOnCompletion
class PrestoStatement:    @Override
    public void closeOnCompletion()
            throws SQLException
    {
        checkOpen();
        closeOnCompletion.set(true);
    }