Handle unpickleable exceptions in indexing tasks