Disable afk log-out/always stay logged-in? (3.3.5)

Is there a way to keep characters logged-in? After some time afk I get returned to character select.

This logout is initiated by the client so there is not much you can do

only using external tools like AutoHotkey.

Does the client auto-log send a packet that’s different than regular log-out?

I was reading this and there’s mention of stuff like SMSG_LOGOUT_CANCEL_ACK and CMSG_LOGOUT_REQUEST; maybe if the client sends a afk log-out notice or something to the server, the server can override or send something different (like un-afk player)?