lib/query: Fix notmuch_threads_t to stream results rather than blocking.