model: improve get_next_thread() comments