support infinite retry, and sleep time give up
support infinite retry, and sleep time give up