Tracking of Closed-Curve Trajectories for Multi-Robot Systems