reset curl options at the end of getlink()