fix the defect under multiple threads. Because the first thread add
failed,when submit it,the program ignore it when add failed.