How to redirect in WebformHandler after submitting Ajax form
I got it working with another approach, instead I used the form_alter hook and added an ajax submit callback.
See Webform alter with ajax submit callback - field values are empty in callback