Added variable delay to keepgoing loop to account for time used in db sync