As I tested for several times, killing adb and restart adb will always work. Anyway, increase retry times will do no harm. I will change accordingly.