title: QTcpSocket will cause handles increase in windows
body: <p>I use qt4.8.5 and windows.
  I use QTcpSocket to connect a server.
  If the server doesn't open, then I will try to connect it.
  My way is:</p>
  
  <pre><code>sock = new QTcpSocket(this);
  sock-&gt;connectToHost("127.0.0.1", 1234);
  connect(sock, SIGNAL(disconnected()), this, SLOT(disconnected()));
  connect(sock, SIGNAL(error(QAbstractSocket::SocketError)), 
            this, SLOT(error(QAbstractSocket::SocketError)));
  </code></pre>
  
  <p>I will get the error() signal.</p>
  
  <pre><code>sock-&gt;close();
  sock-&gt;deletelater();
  </code></pre>
  
  <p>I use a timer to try to connect, and it did call the error() to delete the sock.
  But I found that the handles increase in the Task Manager. Does it have memory leak? but I have close the sock and use deletelater().
  What's more, the socket object not run in the main thread.</p>
  
  <p>If any one know the reason cause the handles increase, please tell me.
  Thanks!</p>