correct QThread disposing