It seems not to be possible to cancel a pending query, or ist it? I'm not sure what's the best way to do this in sqlite. Maybe sqlite3_interrupt is a possibility, so we should expose it?