Working loop limit implemented for 5 streams