How do I resolve a thread?