fix case where the response is already done.