I have QHttp in threads

When I run threads QHttp creates a connection, everthing is OK but after all in netstat I have open ports

TCP 192.168.0.122:55770 fx-in-f113:http TIME_WAIT
TCP 192.168.0.122:55771 fx-in-f100:http TIME_WAIT
TCP 192.168.0.122:55772 fx-in-f101:http TIME_WAIT
TCP 192.168.0.122:55773 fx-in-f102:http TIME_WAIT
TCP 192.168.0.122:55774 fx-in-f113:http TIME_WAIT
TCP 192.168.0.122:55775 fx-in-f100:http TIME_WAIT
TCP 192.168.0.122:55776 fx-in-f101:http TIME_WAIT
....
etc. (eq 100 or more open ports)


how close it

I tried use abort, close, clearpendintconnection etc like this:

QIODevice *dev = http->currentDestinationDevice();
if(dev){
dev->close();
}

state for each qhttp connection changed from 5 to 6 (from Connected to Closing), but is not Unconnected

how can I close Qhttp connection ater request?