how can i make two thread in the same application