Attempts to terminate the executor's workers. Iterates through all of the current worker processes and terminates each one that is still alive. After terminating workers, the pool will be in a broken state and no longer usable (for instance, new tasks should not be submitted).