BREAK OLD API.  next_record_wait now does connection state tracking
update to match api change with next_record_wait