While fighting with a group of mobs, Warden every time does a complete roar after killing every single mob and switching his target. In the mean time, the other mobs in the group continues attacking him and he does nothing for 5-6 seconds.
Just like bedrock edition, the Warden should stop roaring, and attack back immediately after being hit by any mob. Roaring takes about 5-6 seconds that allows opponent mobs to hit some extra strikes after every mob kill.
Check if you can reproduce this in 1.19 pre-2, seems like this is no longer the case.