Threads are hard