HH-46655 fix send_error StackOverflow
Merge remote-tracking branch 'origin/HH-46655' into EXP-12426
release 2.21.7 [an.sumin@hh.ru]