issue #1200 if URL file descriptor and some internet error, undefined needs_close matters