[sr-dev] git:master: db: Fixing problem with incorrect initialization of db connections