Move NSURLConnection delegate methods from the main thread