add a small delay so the database isn't hammered constantly