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>
diff --git a/lib/openbmc_ffdc_methods.robot b/lib/openbmc_ffdc_methods.robot
index 663f56b..ba231ab 100755
--- a/lib/openbmc_ffdc_methods.robot
+++ b/lib/openbmc_ffdc_methods.robot
@@ -5,6 +5,7 @@
 Resource           openbmc_ffdc_utils.robot
 Resource           rest_client.robot
 Resource           utils.robot
+Library            SSHLibrary
 
 *** Keywords ***
 
@@ -21,6 +22,7 @@
     @{entries}=     Get ffdc method index
     :FOR  ${index}  IN   @{entries}
     \     Method Call Keyword List   ${index}
+    SSHLibrary.Close All Connections
 
 
 Method Call Keyword List