[Bug 41036] Winserver not closing after application is closed.