In this commit, a mutex is added to guard access to the global dbConns variable in the kvdb/postgres package.