Do you have any sort of plastic chain guard between your largest gear on the cassette and the spokes? If so, that might be what is causing it. My pedals would continue to spin as you described, but it was because that plastic guard had warped and was creating friction between the cassette and spokes, therefore spinning the pedals. I just took the guard off and it works fine.