title: Closing socket does not throw exception
body: <pre><code>public void run() {
    try {
      ois = new ObjectInputStream(clientSocket.getInputStream());
  
      Object o;
      while ((o = ois.readObject()) != null) {
          //do something with object
      }
    } catch (Exception ex) {
      //Log exception
    }
  }
  </code></pre>
  
  <p>Calling <code>socket.shutdowninput()</code>, <code>shutdownoutput()</code>, <code>close()</code>, <code>Thread.interrupt()</code> all do not throw an exception when using Android 2.2.2 on the Dell Streak, any ideas why this is so?</p>