task: pick the thread and insert it into the ring