Create just one connection per database and reuse it.