Hi John:
When students feel there is some benefit to them, that'll keep them interested. So, one thing a teacher can do is to stop, tell a story or past situation related to their work setting will help keep them interested. Then, transition back to the topic.
Regards, Barry