added number of retries when committing functionality
Merge pull request #693 from chandnisingh/DB-ENH

added number of retries when committing functionality