title: GCDAsyncsocket write works but server not responds on background
body: <p>I have a couple of apps that talk to each other through GCDAsynsockets</p>
  
  <p>The problem I'm facing is that if the app is that if the server app is in background, it doesn't write back to the client app until it gets back on foreground</p>
  
  <p>So the readtimeout of client waiting for the response fires the timeout.. but after this timeout, the server may get the data and return the response</p>
  
  <p>so my question is, is there a way to cancel the write if I get the timeout (so I don't send it again) or is there a way to prevent that background issue?</p>
  
  <p>I think it can happen in poor networks too, if the socket stays on router for so long or things like that..</p>
  
  <p>thank you so much</p>