Using ThreadUtil instead of Thread.