Fixing Undertow SSE test failures caused by [UNDERTOW-1786] (handle IO properly for...