Hi,
You need to configure the timeout and reconnection settings for Remote Desktop Session Host. We can use either Group Policy or Remote Desktop Session Host Configuration to achieve this. If you have multiple RDSH, it’s recommend to using group policies.

For more detailed information, please check the following Article. Hope it helps.
Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions
http://technet.microsoft.com/en-us/library/cc754272.aspx
Best Regards,
Aiden
Aiden Cao
TechNet Community Support
