Rescue unknown errors and retry