Respect shutdown after run