setting exiting thread to GTT_FINISHED