Added a retry to adb