Added retry block for simplified retries using RemoteService.