fix the task can not get item bug(the dns callback run twices)