aborting a job on python 2.7 causes `global name 'PermissionError' is not defined `

See executor.py line 132