Do not close() sys.stdin, sys.stdout, or sys.stderr.