US jobless claims reach 840,000 as layoffs persist