Recover from errors.