Remove the calls to zlib:close since the process will exit anyway