undertow-90 make code thread safe