save a thread