Now with interruptable queries.