A man is caught sleeping during a lecture in class