Catch broader exception to ensure that we can do reindexing after an unexpected error happended.