Adding automatic retry, closing Issue #20

Adding retry logic to retry for 10 times if the service call fails for whatever reason