Set SSH socket variable to NULL if connect() fails. Failure to do