Stop job submissions immediately if a shutdown is requested

This stops queued job submissions immediately in @matthewrmshin's 3000 task test suite.