Create a thread to dump callstacks.