Feedback control of protein aggregation