Close rings for polygons. Should limit the number of invalid geometries