I don't believe it boots you after 20 minutes without a connection. I was playing for what seemed like over an hour tonight with the red "game servers down, trying to reconnect" message. If you think about it, it can't "boot" you because you aren't connected in the first place.
I think the game kicks you to the main menu if you go inactive for long enough though. Probably to discourage AFK farming.