[TIMOB-17344] Fixed a bug with the buffer not being reset after an adb command fails. Also fixed a bug where Genymotion emulators with stale ip addresses were detected as running even if they weren't.
Merge pull request #5912 from cb1kenobi/timob-17344

[TIMOB-17344] Fixed a bug with the buffer not being reset after an adb c...