rename disconnect to close
test sslconnection does not double create a connection