Thanks all for the feedback. If there were airside connections in Toronto it might have been possible but clearly it is completely impossible to clear immigration and customs twice, and security at least once, in 50 minutes. I'll tell him to spend the night instead.