Close SSH connection once FFDC collection is completed

DVT was facing a "SSHException", causing the test to fail when there
was no actual failure. During analysis, the root cause of the failure
was from FFDC where we were opening SSH connections and not cleaning
them up as it should be.

This fix is to close the connection once the FFDC collection is completed.

Resolves openbmc/openbmc-test-automation#372

Change-Id: I0b8186311c1878c8a7098ef7ff7053ce7187a68f
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed