Hi Sergio @Sergio4624 ,
What you can try, is to use a Simple Deform Modifier, instead of the Curve Modifier, then you can close the gap by increasing the degrees to above 360 (type in a number greater than 360, for instance 361, to disable the soft limit, then you can slide it till it fits);

That’s how I like to do it, maybe you also find it easier to control.
If the edge of the profile would be straight, you could use exactly 360°.