no need to manually emit our own close events anymore
Copy affectedRows to rowCount for queries that don't return rows