Environmental controls on clogging in effluent-dominated waterways