If db sync fails, it is never retried leading to errors. So, this patch adds retries for db_sync to avoid sync fails. Change-Id: I6a19e10ec305f54232293fd9807217291bf50875 Closes-Bug: #1628580