Added run method with retries

Change-Id: Ib72e01a29b9afdefc259851ed3dcc1e4212d469c