Set main thread for sending request by NSURLConnection