Next time just leave him home and ask his teachers to give him 2x the homework he would've received in class. Don't let
him waste your time; don't let him get away with no consequence. Sure it may require you talking with his teachers. But if it's a more than once in a blue moon thing, I'd get them on board.