title: How to release or know if a http client is free in android?
body: <p>I get this exception when my app user tries to get data from a web server using a client which is already doing some other work in the background.</p>
  
  <p>I am using the same client throughout the application to maintain session.</p>
  
  <p>The exception suggests :</p>
  
  <pre><code>Make sure to release the connection before allocating another one.
  </code></pre>
  
  <p>How to release it? Or it would be better if i can check whether its free of not. So that i can wait until it gets free or release</p>
  
  <p>Thank You</p>