Does a Windows Remote Desktop connection close itself if it's idle?

Ex...
You open up a connection and then lock your computer and walk away for a while. I just want to confirm this is true so I understand why it happened to me. If so, is there an option to bypass this, without having to PostMessages to it from another program?


I'm sorry about this easy question, but I could not find it any FAQ or google.