[server][DBAgentMySQL] Close and connect again when communication with the MySQL server fails.