retry for fetch all records