add qthead insted of app freezing