Eventual periodicity of forced oscillations of the Korteweg-de Vries type equation