winsrv: Improve the shutdown sequence. Properly wait for each process to exit. This fixes a major bug nicknamed ".NET 2.0 chaos", causing system to become damaged and unresponsive after closing .NET apps. (Giannis Adamopoulos)