Fixed #19707 -- Reset transaction state after requests