[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 #5913 from cb1kenobi/timob-17344_3_3_X

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