Hello Patrick,
It generally works whenever students are talking about nonrelated subject material, and they are asked to share it with the class, they tend to immediately become quiet. This is an old trick, but it has kept its effectiveness.
Patricia