Fix: Don't close results too early on SPARQL queries.