Bug 1081427 - Ensure all processes are cleanly shutdown