qtclient: small fix around test connection