Are there bound states in the continuum in a dielectric ring?