Otherwise, it can happen that a task in one executor still tries to submit something to a stopped executor.