Cytosolic aggregates perturb the degradation of nontranslocated secretory and membrane proteins