KAZOO-2033: if refreshing the DB, retry getting agent status
Merge pull request #373 from 2600hz/KAZOO-2033

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