How does this thread sleep with so many edges?