Make curl reporting more robust.