Improved process shutdown.