Added comment block explaining timeout in restart
Simplified temporary file creation for adb tests