KAZOO-2033: if refreshing the DB, retry getting agent status

James is this required?  If not please remove the branch.