I assume you mean "aborts the connection" is the same as closing the connection (or disconnecting)?

If so, don't connect the QTcpSocket::disconnected() signal to the deleteLater() slot. Instead create a connectionAborted() slot and link it the disconnected() signal to this slot.
In the connectionAborted slot remove the item from your list and delete the socket using deleteLater() for example