Continuous flows with closed orbits