WildFly : REST client doesn't work, XMLHttpRequest need to be reopen before each request 

I try to test this app with WildFly.
There is no problem for WebSocket test but REST client doesn't work (just one call works).

I'm using Google Chrome. 
It seems that XMLHttpRequest need to be reopen before each POST request.

With this code, benchmark works on my laptop.