The student refrained from having casual conversations at inappropriate times.