Avoid endless loops on errors.
Better, more specific error handling.

Mysql2::Errors get translated to ThinkingSphinx::SphinxErrors (or subclasses).