I believe the code was getting into a fetchState loop.