Error correction in RespondThread.