Changes database connection processing.

It useas a connection to connect exclusively to 'sitemap' table. (This
table is the processing control data).