index: Retain existing threads if error occurs in notmuch search.
index: Ignore SIGINT during notmuch search.
Clean up curses on SIGINT.