Replace IndexWriter to AsyncWriter to prevent LockError.