small improvement to dbQuery classes, in case fails to get worker