Add multiple thread to deal with every category.