utility method to attach tracker to thread and find it again