Only close connection in DataObjectsSpecHelpers.test_environment_ssl_config_errors if connection exists.
Only close connection in DataObjectsSpecHelpers.test_environment_ssl_config_errors if
connection exists.

simonkro/do_mysql,simonkro/do_mysql,simonkro/do_mysql