Change thread list to double linked list, sleep list work.