title: send pings NOT in the main thread
body: <p>I want to send pings with multiples threads.</p>
  
  <p>I'm using simplePingHelper:
  <a href="https://github.com/chrishulbert/SimplePingHelper/" rel="nofollow">https://github.com/chrishulbert/SimplePingHelper/</a></p>
  
  <p>that used simplePing of apple implementation:
  <a href="https://developer.apple.com/library/mac/samplecode/SimplePing" rel="nofollow">https://developer.apple.com/library/mac/samplecode/SimplePing</a></p>
  
  <p>The pings in the main thread works well, but when I tried to do it in background thread it's call to the right ping's methods but the ping not happen. it's arrive to this line: </p>
  
  <pre><code>[self performSelector:@selector(endTime) withObject:nil afterDelay:1]; // This timeout is what retains the ping helper
  </code></pre>
  
  <p>and that's it.</p>
  
  <p>How can I do it? </p>
  
  <p>EDITED:
  I tried to run it like following code:</p>
  
  <pre><code> dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
              [SimplePingHelper ping:@"x.x.x.x" target:self sel:@selector(pingResult:)];
          });
  </code></pre>