thread creation loop