backend: only set new DB-Connection if needed