[PATCH 5.10 163/167] perf inject: Close inject.output on exit