BZ-1105174: adapted codebase in order to avoid direct use of Thread's or ExecutorService's due the WAS limitations on handling it (not possible to interact with CDI beans/events if it's not a managed thread).