Tiny clean-up in `program()`
diff --git a/httpie/core.py b/httpie/core.py
index cf2567d489..9c9e3ce406 100644
--- a/httpie/core.py
+++ b/httpie/core.py
@@ -213,7 +213,7 @@ def request_body_read_callback(chunk: bytes):
     finally:
         if downloader and not downloader.finished:
             downloader.failed()
-        if not isinstance(args, list) and args.output_file and args.output_file_specified:
+        if args.output_file and args.output_file_specified:
             args.output_file.close()
 
 
