Fix stall after TED error