Clean close if curl not present