Bug 1081452 - Ensure all processes are cleanly shutdown