From the booklet of Rabbi David Shalom Naki, shlit"a: if a father speaks idle words in the middle of learning with his son, the son may show him the Rambam, that in the beit midrash one speaks only words of Torah, and even “Refuah” is not said there, and the severity in Chagigah. He should also explain, from Berachot, that if the father takes it to heart and accepts to be careful, how precious he will be before the Creator, for according to the difficulty, so is the reward.