iotests: teach run_job to cancel pending jobs