set limit based on *threads*, not messages