Response reading logic.