autotest: Clean up host objects in WiFi tests

Previously we failed to close() our host objects representing remote
routers and servers.  This leaves master SSH connections idling in
the background.  Clean these objects up in a uniform way in the WiFi
test context manager.

BUG=chromium:281542
TEST=test_that stops after test completion.  This happened because it
is polling on a PIPE which through a nefarious series of child process
execs, ends up in the pending SSH processes.

Change-Id: I0bae0bce29bdd0f3ad563e08699b421560a6db94
Reviewed-on: https://chromium-review.googlesource.com/167573
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Wade Guthrie <wdg@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
4 files changed