guard against unresponsive shell commands in framework reboot

In cases where framework is not running, adb shell commands
that talks to framework might block, we now fallback to
`adb reboot` in this case

Change-Id: Id2a95b884b0bcca7d0c88a01059feabb2396d10d
1 file changed