title: NSURLSession restart the request
body: <p>I am using the <code>NSURLsession</code> for network calls. I need to store the details to perform the restart on network error or manually when user performs the sync from app.</p>
  
  <p>Do I need to store the <code>NSURLsession</code> object or <code>NSURLSessionDataTask</code> or <code>taskIdentifier</code> to achieve this?</p>
  
  <p>I need to initiate the restart from some other class.</p>
  
  <p>Help appreciated</p>