fixed the problem that may access uninitialized database.

In the previous version,
moved the management of DBAgent instance from DBClientZabbix to DBClient.