How about the game just pauses when you have an afk.
for like 5 - 10 minutes most games I have an afk they come back within that much time but we are often still fucked because that guys is super behind and gets 1 shot undertower while trying to catch up. I mean like God damn we need to do something about AFKs.