title: NSRunLoop issues with NSURLConnection and Keyboard input
body: <p>I have a NSURLConnection which carries out the task of uploading images for me. This is how I initialize and start this connection:</p>
  
  <pre><code>_connection = [[NSURLConnection alloc]
                  initWithRequest:request
                         delegate:self 
                  startImmediately:NO];
  
  [_connection scheduleInRunLoop:[NSRunLoop mainRunLoop]
                          orMode:NSDefaultRunLoopMode]; 
  [_connection start];
  </code></pre>
  
  <p>I actually call this method from somewhere else with <code>dispatch_async</code> on its own dispatch_queue. 
  The problem is when an image is uploading and I start typing in my app with keyboard, sometimes, it freezes the application.
  After a bit of digging I came to understanding that the <code>mainRunLoop</code> is actually what handles input requests such as keyboard button press. I wanted to know if I get it right and this is what actually causing my problem which is freezing my app.
  Any help regarding this issue is much appreciated.
  Thank you in advance.</p>
  
  <p>P.S: I tried running my connection on currentRunLoop but it doesnt work unless I manually start the currentRunLoop.</p>