ignore exit code 6 when downloading pdf