146388a6797bd5eae6a0be47eb976007fce54358
hiram
  Thu Jun 4 16:03:49 2026 -0700
correctly disconnect from hgcentraltest refs #31811

diff --git src/hg/hubApi/apiUtils.c src/hg/hubApi/apiUtils.c
index 9a376044728..3e5977be9dc 100644
--- src/hg/hubApi/apiUtils.c
+++ src/hg/hubApi/apiUtils.c
@@ -813,28 +813,28 @@
 dyStringPrintf(textOutput, "%s\n", lineOut);
 }
 
 void textFinishOutput()
 /* all done with text output, print it all out */
 {
 puts("Content-Type:text/plain\n");
 printf("%s", dyStringCannibalize(&textOutput));
 }
 
 struct sqlConnection *hConnectOtto()
 /* Connect to otto database using otto profile, fallback to central */
 {
 char *ottoDb = cfgOption2("otto", "db");
 if (isEmpty(ottoDb)) // No otto profile defined, use central
-    return hConnectCentral();
+    return hConnectCentralNoCache();
 
 struct sqlConnection *conn = sqlConnectProfile("otto", ottoDb);
 if (conn == NULL)
     errAbort("Cannot connect to otto database '%s' using otto profile", ottoDb);
 return conn;
 }
 
 void hDisconnectOtto(struct sqlConnection **pConn)
 /* Disconnect otto connection */
 {
 sqlDisconnect(pConn);
 }