Catching the connection refused exception when initializing SSH connection in the SSH machine mixin.