started the thread handler