Callers of close_if_idle handle constructing next_state tuple.