Should we set hasRestarted to false at some point when adb succeed, to allow another restart, later, if adb fails after a working session?