title: when there is no internet connection the URLSession returning NSURLErrorTimedOut instead of NSURLErrorNotConnectedToInternet iOS 14
body: <p>When i execute code with my internet connection disabled. In iOS13 the completionBlock gets called immediately and I have this error</p>
  <pre><code>Error Domain=NSURLErrorDomain Code=-1009 &quot;The Internet connection appears to be offline.&quot;
  </code></pre>
  <p>But, when I execute exactly the same code under iOS14 the completion block gets called after one minute (the timeout) and the error that i have is different</p>
  <pre><code>Error Domain=NSURLErrorDomain Code=-1001 &quot;The request timed out.&quot;
  </code></pre>
  <p>How to get error.Code=-1009 in iOS14, Thanks in advance.</p>