execute_ssh_command: socket.error and close_all_connections

- Added code to handle socket.error: [Errno 104] Connection reset by peer
- Switched from close_connection to close_all_connections to get rid of unused
  connections.

Change-Id: Ic198b17872a530ab1b28f37e7c563784ef9b71bd
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
1 file changed