Use QThread instead threading