fts-tika: Fixed crashes when indexing larger attachments with fts-solr. We were mixing ioloops without switching back to the original ioloop in the middle. Also io_remove() at deinit caused another timeout to be added, so this needs to be done while original ioloop is active or we'll just leak the just-added timeout in io_loop_destroy() and crash later.
fts-tika: Fixed crashes when indexing larger attachments with fts-solr.
We were mixing ioloops without switching back to the original ioloop in the
middle. Also io_remove() at deinit caused another timeout to be added, so
this needs to be done while original ioloop is active or we'll just leak the
just-added timeout in io_loop_destroy() and crash later.

dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot