optimizing restart of adb - if first atemp fails, it tries to start it a second time