I tend to agree with Chris. Unless the situation is harmful for a child, a little bit of distraction isn't the worst educational outcome. Some of my best insight into patterns in calculus and my best creative writing came during class time. Although, if this is a normal occurance and causes disruptions, it might be time for a different strategy.