add option to suppress warnings after a threshold.