finished error handling and retry