bug fix: releasing permit channel if input file preparation fails