When you attempt to quit a published application shortly after the application is started on a remote Windows Server 2003 SP1 computer, the Remote Desktop Connection may stay open for up to 70 seconds.
The behavior occurs because Windows Server 2003 SP1 moved the user and computer certificate autoenrollment into the Userinit process. The certificate autoenrollment may take 70 seconds to complete.
You can workaround this behavior on the Windows Server 2003 SP1 computer:
1. Start / Run / Gpedit.msc / OK.
2. Navigate through User Configuration / Windows Settings / Security Settings / Public Key Policies.
3. Double-click Autoenrollment Settings.
4. Select Do not enroll certificates automatically.
5. Press Apply and OK.