Better retry with error handling.