How to Configure Disconnected Session Timer Settings in XenApp 6
If you want disconnected sessions to end immediately, perform the following steps in the registry:
Caution! This procedure requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of the Registry Editor can be solved. Use the Registry Editor at your own risk. Back up the registry before you edit it.
Open RegEdit.
Edit the following registry entry:
HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\ICA-TCP
Name: MaxDisconnectionTime
Type: REG_DWORD
Value: 0x0000003c
This action sets the disconnected timeout to one second.
DISCLAIMER: CAUTION! Be advised that changing the disconnect time to 1 millisecond is known to cause server instability and it is not recommended as a general practice. It is recommended that you do not go below 1 second. If you are seeing issues after setting this registry key, contact Citrix Technical Support.
http://support.citrix.com/article/CTX126775